xo-alloc2: shallow_copy api + bugfixes [WIP]
This commit is contained in:
parent
e5cb3ff96b
commit
7f792bea9b
6 changed files with 15 additions and 6 deletions
|
|
@ -30,8 +30,8 @@ namespace xo {
|
|||
size_type shallow_size(Copaque d) const noexcept override {
|
||||
return I::shallow_copy(_dcast(d));
|
||||
}
|
||||
Opaque * shallow_copy(Copaque d) const noexcept override {
|
||||
return I::shallow_size(_dcast(d));
|
||||
Opaque * shallow_copy(Copaque d, obj<AAllocator> mm) const noexcept override {
|
||||
return I::shallow_size(_dcast(d), mm);
|
||||
}
|
||||
|
||||
// non-const methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue