xo-facet: expand genfacet.py, generate IFoo_Any.hpp

This commit is contained in:
Roland Conybeare 2025-12-24 23:11:14 -05:00
commit 9a3b3f68e2

View file

@ -8,7 +8,21 @@
"Elements appear in some determinstic order.",
"Sequence is GC-aware --> elements must be GC-aware"
],
methods: [
types: [
// using size_type = std::size_t
{
name: "size_type",
doc: ["type for length of a sequence"],
definition: "std::size_t",
},
// using AGCObject = xo::mm::AGCObject
{
name: "AGCObject",
doc: ["facet for types with GC support"],
definition: "xo::mm::AGCObject",
}
],
const_methods: [
// bool is_empty() const noexcept
{
name: "is_empty",
@ -44,4 +58,6 @@
attributes: [],
},
],
nonconst_methods: [
],
}