#include <MNRopeLeaf.h>
Inheritance diagram for MNRopeLeaf:
Public Types | |
enum | { _S_alloc_granularity = 8 } |
Public Member Functions | |
MNRopeLeaf (uchar_t *__d, size_t __size) | |
MNRopeLeaf (uchar_t *__d, size_t __size, bool special) | |
virtual | ~MNRopeLeaf () |
Static Public Member Functions | |
size_t | _S_rounded_up_size (size_t __n) |
Public Attributes | |
bool | _invalid |
bool | _special |
uchar_t * | _M_data |
|
|
|
The constructor assumes that d has been allocated with the proper allocator and the properly padded size. In contrast, the destructor deallocates the data: |
|
|
|
|
|
|
|
|
|
Not necessarily 0 terminated. The allocated size is _S_rounded_up_size(size), except in the GC case, in which it doesn't matter. |
|
|