xo-alloc + xo-allocutil: refactor to shrink dep surface area
This commit is contained in:
parent
8d4649c6cf
commit
540b43d971
34 changed files with 479 additions and 323 deletions
|
|
@ -23,7 +23,7 @@ namespace xo {
|
|||
/** create instance holding integer value @p x **/
|
||||
static gp<Integer> make(IAlloc * mm, int_type x);
|
||||
/** downcast from @p x iff x is actually an Integer. Otherwise nullptr **/
|
||||
static gp<Integer> from(gp<Object> x);
|
||||
static gp<Integer> from(gp<IObject> x);
|
||||
|
||||
int_type value() const { return value_; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue