From 195d59534f891cf558b56b412c9cc11f79428cd1 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 2 Jan 2026 10:20:19 -0500 Subject: [PATCH] xo-alloc: explicit typeseq arg to alloc --- include/xo/facet/typeseq.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/xo/facet/typeseq.hpp b/include/xo/facet/typeseq.hpp index b108874..ab85821 100644 --- a/include/xo/facet/typeseq.hpp +++ b/include/xo/facet/typeseq.hpp @@ -44,6 +44,13 @@ namespace xo { } + /** 'anonymous' sentinel type. + * Niche uses for this, e.g. untyped allocator + **/ + static typeseq_impl anon() { + return typeseq_impl(-1); + } + int32_t seqno() const { return seqno_; } private: