From bc248fec2094a8ed6b7fb6247d79ba8f47628d6d Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Thu, 9 Apr 2026 19:12:41 -0400 Subject: [PATCH] xo-gc: utest: fairly comprehensive GCObjectStore utest Generative! --- include/xo/object2/DList.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/xo/object2/DList.hpp b/include/xo/object2/DList.hpp index da21ca4..c61b297 100644 --- a/include/xo/object2/DList.hpp +++ b/include/xo/object2/DList.hpp @@ -50,6 +50,9 @@ namespace xo { obj car, DList * cdr); + obj head() const noexcept { return head_; } + DList * rest() const noexcept { return rest_; } + /** DList length is at least 1 **/ bool is_empty() const noexcept; /** DList models a finite sequence **/