Construct the first member from value, ignoring the allocator.
Declared in <bslstl_pair.h>
template<class PARAM>
Pair_First(
PARAM&& value,
BloombergLP::bslma::Allocator* basicAllocator,
Pair_BslmaIdiomNone idiom);
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.
| Name | Description |
|---|---|
| value | value forwarded to the constructor of TYPE |
| basicAllocator | allocator used to supply memory |
| idiom | tag selecting the no-allocator construction idiom |