BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::Pair_BslmaIdiom< TYPE > Struct Template Reference

#include <bslstl_pair.h>

Inheritance diagram for bsl::Pair_BslmaIdiom< TYPE >:
bsl::integral_constant< int, BloombergLP::bslma::UsesBslmaAllocator< TYPE >::value ?(BloombergLP::bslmf::UsesAllocatorArgT< TYPE >::value ? Pair_BslmaIdiomAllocatorArgT::value :Pair_BslmaIdiomAtEnd::value) :Pair_BslmaIdiomNone::value >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< int, BloombergLP::bslma::UsesBslmaAllocator< TYPE >::value ?(BloombergLP::bslmf::UsesAllocatorArgT< TYPE >::value ? Pair_BslmaIdiomAllocatorArgT::value :Pair_BslmaIdiomAtEnd::value) :Pair_BslmaIdiomNone::value >
typedef int value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< int, BloombergLP::bslma::UsesBslmaAllocator< TYPE >::value ?(BloombergLP::bslmf::UsesAllocatorArgT< TYPE >::value ? Pair_BslmaIdiomAllocatorArgT::value :Pair_BslmaIdiomAtEnd::value) :Pair_BslmaIdiomNone::value >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< int, BloombergLP::bslma::UsesBslmaAllocator< TYPE >::value ?(BloombergLP::bslmf::UsesAllocatorArgT< TYPE >::value ? Pair_BslmaIdiomAllocatorArgT::value :Pair_BslmaIdiomAtEnd::value) :Pair_BslmaIdiomNone::value >
static const int value
 

Detailed Description

template<class TYPE>
struct bsl::Pair_BslmaIdiom< TYPE >

This component-private meta-function determines whether the specified TYPE template parameter takes a bslma::Allocator* constructor argument and, if so, whether that argument is at the end of the argument list or at the beginning of the argument list following an argument of type bsl::allocator_arg_t. This type derived from bsl::integral_constant<int, N> where N is the number of additional parameters required to pass an allocator to a constructor using the chosen idiom.


The documentation for this struct was generated from the following file: