Construct the second member with the allocator as the last argument.
Declared in <bslstl_pair.h>
template<class PARAM>
Pair_Second(
PARAM&& value,
BloombergLP::bslma::Allocator* basicAllocator,
Pair_BslmaIdiomAtEnd idiom);
Construct the second member of a pair from the specified value, 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.
| Name | Description |
|---|---|
| value | value forwarded to the constructor of TYPE |
| basicAllocator | allocator used to supply memory |
| idiom | tag selecting the trailing-allocator construction idiom |