Construct a pair from other, using basicAllocator.
Synopsis
Declared in <bslstl_pair.h>
template<
class PARAM_1,
class PARAM_2>
pair(
pair<PARAM_1, PARAM_2> const& other,
BloombergLP::bslma::Allocator* basicAllocator);
Description
Construct a pair from the specified other pair, using the specified basicAllocator to supply memory for each member when its type uses bslma‐style allocators.
Parameters
Name |
Description |
other |
pair whose members initialize this pair's members |
basicAllocator |
allocator used to supply memory |
Created with MrDocs