xo-object2: minor: default AGCObject for DBoolean.make()

This commit is contained in:
Roland Conybeare 2026-03-24 17:49:23 -04:00
commit bca732a132

View file

@ -16,13 +16,14 @@ namespace xo {
struct DBoolean {
using AAllocator = xo::mm::AAllocator;
using ACollector = xo::mm::ACollector;
using AGCObject = xo::mm::AGCObject;
using ppindentinfo = xo::print::ppindentinfo;
using value_type = long;
explicit DBoolean(bool x) : value_{x} {}
/** will likely want this to default to ANumeric, once we have it **/
template <typename AFacet>
template <typename AFacet = AGCObject>
static obj<AFacet, DBoolean> box(obj<AAllocator> mm, bool x);
/** allocate boxed value @p x using memory from @p mm **/