Exemplo n.º 1
0
 void deallocate(AllocatorBlock b) {
     if (b.length != s) {
         parent_.deallocate(b);
         return;
     } else {
         auto p = (Node*)b.ptr;
         p->next = root_;
         root_ = p;
     }
 }
Exemplo n.º 2
0
 ~vector_base() { alloc.deallocate(v,last-v); }
Exemplo n.º 3
0
 ~bsend_buffer() {
   environment::buffer_detach();
   alloc.deallocate(buff, size);
 }
 ~vector_base() { alloc.deallocate(elem,space); }