Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bslma::AllocatorTraits_PropOnSwap< ALLOC, bool > Struct Template Reference

#include <bslma_allocatortraits.h>

Inheritance diagram for bslma::AllocatorTraits_PropOnSwap< ALLOC, bool >:
bsl::integral_constant< t_TYPE, t_VAL >

List of all members.

Public Types

typedef t_TYPE value_type
typedef integral_constant type

Public Member Functions

BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT

Static Public Attributes

static
BSLS_KEYWORD_CONSTEXPR_MEMBER
t_TYPE 
value = t_VAL

Detailed Description

template<class ALLOC, bool = AllocatorTraits_HasPropOnSwap<ALLOC>::value>
struct bslma::AllocatorTraits_PropOnSwap< ALLOC, bool >

This struct template sets the boolean type for the attribute named propagate_on_container_swap to bsl::false_type if the given (template parameter) ALLOCATOR_TYPE does not define such an alias (i.e., false == AllocatorTraits_HasPropOnSwap<ALLOCATOR_TYPE>value).

See Component bslma_allocatortraits


Member Typedef Documentation

template<class t_TYPE, t_TYPE t_VAL>
typedef t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value_type [inherited]
template<class t_TYPE, t_TYPE t_VAL>
typedef integral_constant bsl::integral_constant< t_TYPE, t_VAL >::type [inherited]

Member Function Documentation

template<class t_TYPE, t_TYPE t_VAL>
BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< t_TYPE, t_VAL >::operator value_type (  )  const [inherited]

Return t_VAL.


Member Data Documentation

template<class t_TYPE, t_TYPE t_VAL>
BSLS_KEYWORD_CONSTEXPR_MEMBER t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value = t_VAL [static, inherited]

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