Construct the first member from value, ignoring the allocator.
Synopsis
Declared in <bslstl_pair.h>
template<class PARAM>
Pair_First(
PARAM&& value,
BloombergLP::bslma::Allocator* basicAllocator,
Pair_BslmaIdiomNone idiom);
Description
Construct the 'first' member of a 'pair' from the specified 'value', using the specified 'basicAllocator' to supply memory. This function (perfectly) forwards 'value' to the constructor of (template parameter) 'TYPE' when 'TYPE' does not use 'bslma'‐style allocators.
Parameters
Name |
Description |
value |
value forwarded to the constructor of |
basicAllocator |
allocator used to supply memory |
idiom |
tag selecting the no‐allocator construction idiom |
Created with MrDocs