|
BDE 4.39.x Production Release
|
#include <bslma_allocatortraits.h>
This struct template provides a mechanism for determining whether a given (template parameter) ALLOCATOR_TYPE defines a nested alias named propagate_on_container_swap . 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.
Public Types | |
| typedef bsl::integral_constant< bool, value > | type |
Static Public Attributes | |
| static const bool | value = sizeof(match<ALLOC>(0)) == sizeof(yes_type) |
| typedef bsl::integral_constant<bool, value> bslma::AllocatorTraits_HasPropOnSwap< ALLOC >::type |
|
static |