Definition at line 865 of file bitmap_allocator.h.
|
Allocates memory for a single object of size sizeof(_Tp).
Definition at line 999 of file bitmap_allocator.h. References _Bitmap_counter::_M_finished(), and _Bitmap_counter::_M_get(). |
|
Deallocates memory that belongs to a single object of size sizeof(_Tp). Complexity: O(lg(N)), but the worst case is not hit often! This is because containers usually deallocate memory close to each other and this case is handled in O(1) time by the deallocate function. Definition at line 1097 of file bitmap_allocator.h. References __gnu_cxx::balloc::__bit_free(), __gnu_cxx::balloc::__find_if(), __gnu_cxx::balloc::__num_bitmaps(), std::__rotate(), and _BALLOC_ASSERT. |