|
virtual bool | add (const K_TYPE &e)=0 |
|
virtual bool | remove (const K_TYPE &e)=0 |
|
virtual u_integer | size () const =0 |
| Gets the number of elements in the container.
|
|
bool | empty () const |
| Checks if the container is empty.
|
|
virtual bool | contains (const TYPE &e) const =0 |
| Checks if an element is contained in the container.
|
|
virtual | ~container ()=default |
| Destructor for the container class.
|
|
|
| set (COMP comp=COMP{}, ALLOC alloc=ALLOC{}) |
|
| container (ALLOC alloc=ALLOC{}) |
| Constructs a container with specified allocator.
|
|
TYPE * | allocate (u_integer size) |
| Allocates raw memory for elements.
|
|
void | deallocate (TYPE *ptr, u_integer size) |
| Deallocates memory previously allocated by allocate()
|
|
template<typename O_TYPE, typename... Args> |
void | construct (O_TYPE *o_ptr, Args &&... args) |
| Constructs an element in-place.
|
|
template<typename O_TYPE> |
void | destroy (O_TYPE *o_ptr) |
| Destroys an element.
|
|
|
COMP | compare |
|
ALLOC | allocator |
| The allocator instance used for memory management.
|
|
The documentation for this class was generated from the following file: