This class provides methods for creating and destroying nodes using the appropriate allocator‐traits of the (template parameter) type ALLOCATOR.
Synopsis
Declared in <bslstl_bidirectionalnodepool.h>
template<
class VALUE,
class ALLOCATOR>
class BidirectionalNodePool;
Type Aliases
Name |
Description |
Alias for the allocator type defined by |
|
Alias for the |
Member Functions
Name |
Description |
|
Constructors |
Adopt all outstanding memory allocations associated with the specified node |
|
|
|
Allocate a node of the type |
|
Destroy the |
|
Allocate a node of the type |
|
Allocate a node of the type |
|
Relinquish all memory currently allocated with the memory pool maintained by this object. |
|
Add to this pool sufficient memory to satisfy memory requests for at least the specified |
|
Efficiently exchange the nodes and the allocator of this object with those of the specified |
|
Efficiently exchange the nodes of this object with those of the specified |
Non-Member Functions
Name |
Description |
Efficiently exchange the nodes of the specified |
Created with MrDocs