Construct a pair from the rvalue other, using basicAllocator.
Declared in <bslstl_pair.h>
template<
class PARAM_1,
class PARAM_2>
pair(
std::pair<PARAM_1, PARAM_2>&& other,
BloombergLP::bslma::Allocator* basicAllocator);
Construct a pair from the specified other rvalue pair, using the specified basicAllocator to supply memory for each member when its type uses bslma-style allocators.
| Name | Description |
|---|---|
| other | pair whose members are moved into this pair's members |
| basicAllocator | allocator used to supply memory |