From 0a7b2bec12476c729bbcf90dcf7b3b25fac41e05 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 30 Jan 2026 20:08:41 -0500 Subject: [PATCH] xo-expression2 xo-reader2 DSequenceExpr, DSequenceSsm [WIP] --- include/xo/object2/DArray.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/xo/object2/DArray.hpp b/include/xo/object2/DArray.hpp index f50936e..e95f67f 100644 --- a/include/xo/object2/DArray.hpp +++ b/include/xo/object2/DArray.hpp @@ -68,6 +68,8 @@ namespace xo { requires (std::same_as> && ...) static DArray * array(obj mm, Args... args); + obj operator[](size_type index) const noexcept { return elts_[index]; } + ///@} /** @defgroup darray-access acecss methods **/ ///@{