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: