xo-object2: minor: default AGCObject for DBoolean.make()
This commit is contained in:
parent
78145b1105
commit
bca732a132
1 changed files with 2 additions and 1 deletions
|
|
@ -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 **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue