Allocator proxy class for STL‐style containers. Provides access to the allocator. Implements the entire STL allocator interface, redirecting allocation and deallocation calls to the proxied allocator. One of two possible base classes is chosen depending on whether ALLOCATOR is an empty class.
Synopsis
Declared in <bslalg_containerbase.h>
template<class ALLOCATOR>
class ContainerBase
: public bsl::conditional<bsl::is_empty<ALLOCATOR>::value, ContainerBase_EmptyBase<ALLOCATOR>, ContainerBase_NonEmptyBase<ALLOCATOR>>::type
Base Classes
Name |
Description |
|
Type Aliases
Name |
Description |
Alias for the (template parameter) |
Member Functions
Name |
Description |
|
Construct this object using the specified |
|
Destroy this object. |
Returns true if this object and |
Derived Classes
Name |
Description |
Proxy combining an allocator with a stored value for STLPort containers. |
Created with MrDocs