BDE 4.14.0 Production release
|
Typedefs | |
typedef bslma::ManagedAllocator | bslma_ManagedAllocator |
This alias is defined for backward compatibility. | |
Provide a protocol for memory allocators that support release
.
release
capabilityThis component provides a protocol (pure abstract interface) class, bslma::ManagedAllocator
, which extends the base-level protocol class, bslma::Allocator
, providing the ability to release
all memory currently allocated through the protocol back to the memory supplier of the derived concrete allocator object.
The bslma::ManagedAllocator
protocol class serves as a useful internal interface for documentation purpose and could be used as a parameter to low-level helper functions for some implementations. We have yet to find a suitable real-world example and when one becomes available, it will be added.