BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::AllocatorTraits_HasPropOnCopyAssign< ALLOCATOR_TYPE > Struct Template Reference

#include <bslma_allocatortraits.h>

Public Types

typedef bsl::integral_constant< bool, valuetype
 

Static Public Attributes

static const bool value
 

Detailed Description

template<class ALLOCATOR_TYPE>
struct bslma::AllocatorTraits_HasPropOnCopyAssign< ALLOCATOR_TYPE >

This struct template provides a mechanism for determining whether a given (template parameter) ALLOCATOR_TYPE defines a nested alias named propagate_on_container_copy_assignment. The static boolean member value (nested alias named type) is true (bsl::true_type) if ALLOCATOR_TYPE defines such an alias, and false (bsl::false_type) otherwise.

Member Typedef Documentation

◆ type

template<class ALLOCATOR_TYPE >
typedef bsl::integral_constant<bool, value> bslma::AllocatorTraits_HasPropOnCopyAssign< ALLOCATOR_TYPE >::type

Member Data Documentation

◆ value

template<class ALLOCATOR_TYPE >
const bool bslma::AllocatorTraits_HasPropOnCopyAssign< ALLOCATOR_TYPE >::value
static
Initial value:
=
sizeof(match<ALLOCATOR_TYPE>(0)) == sizeof(yes_type)

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