Return the specified a allocator, implicitly converted to TYPE::allocator_type. Compilation will fail if implicit conversion to the return type is invalid.
Synopsis
Declared in <bslma_constructionutil.h>
template<class ALLOC>
static
TYPE::allocator_type
adapt(ALLOC const& a);
Return Value
a converted to TYPE::allocator_type
Parameters
Name |
Description |
a |
allocator to convert to |
Created with MrDocs