xo-object2: + DArray::at() + utests
This commit is contained in:
parent
0a6f449b3b
commit
87dd88beec
5 changed files with 90 additions and 4 deletions
|
|
@ -26,6 +26,9 @@ namespace xo {
|
|||
sizeof(DString) + cap);
|
||||
|
||||
result = new (mem) DString();
|
||||
|
||||
assert(result);
|
||||
|
||||
result->capacity_ = cap;
|
||||
result->size_ = 0;
|
||||
if (cap > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue