xo-object2: utest: ++ allocation in collector utest
This commit is contained in:
parent
6bd33bd900
commit
3f1470f938
18 changed files with 196 additions and 26 deletions
|
|
@ -135,6 +135,11 @@ namespace xo {
|
|||
* zero @p z.
|
||||
**/
|
||||
virtual value_type sub_alloc(Opaque d, size_type z, bool complete_flag) const = 0;
|
||||
/** Allocate copy of an existing object @p src.
|
||||
* Existing object must be contained in @p d.
|
||||
* NOTE: load bearing for copying garbage collector.
|
||||
**/
|
||||
virtual value_type alloc_copy(Opaque d, value_type src) const = 0;
|
||||
/** reset allocator @p d to empty state. **/
|
||||
virtual void clear(Opaque d) const = 0;
|
||||
/** Destruct allocator @p d.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue