예제 #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;
     }
 }
예제 #2
0
 ~vector_base() { alloc.deallocate(v,last-v); }
예제 #3
0
파일: environment.hpp 프로젝트: jsharpe/mpl
 ~bsend_buffer() {
   environment::buffer_detach();
   alloc.deallocate(buff, size);
 }
 ~vector_base() { alloc.deallocate(elem,space); }