Construct the second member with the allocator as the last argument.
Synopsis
Declared in <bslstl_pair.h>
Pair_Second(
BloombergLP::bslma::Allocator* basicAllocator,
Pair_BslmaIdiomAtEnd idiom);
Description
Construct the second member of a pair, using the specified basicAllocator to supply memory. This constructor is selected when (template parameter) TYPE takes a bslma‐style allocator as the last constructor argument.
Parameters
Name |
Description |
basicAllocator |
allocator used to supply memory |
idiom |
tag selecting the trailing‐allocator construction idiom |
Created with MrDocs