|
BDE 4.39.x Production Release
|
Provide a namespace for utility functions for STL functionality.
Provide a namespace for utility functions for STL functionality.
This component defines a class, bslstp::Util, that provides a namespace for utility functions used to implement STL functionality in the bslstp package.
This component is for internal use only.
Typedefs | |
| typedef bslstp::Util | bslstp_Util |
Functions | |
| static ALLOCATOR | bslstp::Util::AllocatorUtil< ALLOCATOR, IS_BSLMA_ALLOC >::copyContainerAllocator (const ALLOCATOR &rhsAlloc) |
| static ALLOCATOR | bslstp::Util::AllocatorUtil< ALLOCATOR, 0 >::copyContainerAllocator (const ALLOCATOR &rhsAlloc) |
| typedef bslstp::Util bslstp_Util |
This alias is defined for backward compatibility.
|
inlinestatic |
Return the appropriate allocator for use when copy-constructing a container. rhsAlloc is intended to be the allocator from the container being copied. If isBslmaAlloc is of type bsl::true_type then ignore rhsAlloc and return the default allocator. Otherwise, return rhsAlloc unchanged.
|
inlinestatic |
Return the appropriate allocator for use when copy-constructing a container. rhsAlloc is intended to be the allocator from the container being copied. If isBslmaAlloc is of type bsl::true_type then ignore rhsAlloc and return the default allocator. Otherwise, return rhsAlloc unchanged.