BDE 4.14.0 Production release
|
#include <bslstl_pair.h>
Public Member Functions | |
BSLS_KEYWORD_CONSTEXPR | Pair_First () |
Pair_First (BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomNone) | |
Pair_First (BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAtEnd) | |
Pair_First (BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAllocatorArgT) | |
BSLS_KEYWORD_CONSTEXPR | Pair_First (typename bsl::add_lvalue_reference< const TYPE >::type value) |
template<class PARAM > | |
BSLS_KEYWORD_CONSTEXPR | Pair_First (const PARAM &value) |
template<class PARAM > | |
BSLS_KEYWORD_CONSTEXPR | Pair_First (PARAM &value) |
template<class PARAM > | |
Pair_First (const PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomNone) | |
template<class PARAM > | |
Pair_First (PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomNone) | |
template<class PARAM > | |
Pair_First (const PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAtEnd) | |
template<class PARAM > | |
Pair_First (PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAtEnd) | |
template<class PARAM > | |
Pair_First (const PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAllocatorArgT) | |
template<class PARAM > | |
Pair_First (PARAM &value, BloombergLP::bslma::Allocator *basicAllocator, Pair_BslmaIdiomAllocatorArgT) | |
Pair_First (const Pair_First &)=default | |
Pair_First (Pair_First &&)=default | |
Pair_First & | operator= (Pair_First &&)=default |
~Pair_First ()=default | |
Public Attributes | |
TYPE | first |
This component-private class
holds the first
data member of a pair
and constructs it appropriately.
|
inline |
|
inline |
|
inline |
|
inline |
Construct the first
member of a pair
, using the specified basicAllocator
to supply memory. Note that exactly one of these three constructors is enabled at compile-time for (template parameter) type TYPE
based on the following respective criteria: 1) TYPE
does not support bslma
-style allocators, 2) TYPE
takes a bslma
-style allocator as the last constructor argument, and 3) TYPE
takes a bslma
-style allocator as the second constructor argument preceded by bsl::allocator_arg
.
|
inlineexplicit |
Construct the first
member from the specified non-modifiable value
, without specifying an allocator.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
default |
|
default |
TYPE bsl::Pair_First< TYPE >::first |