BloombergLP::bslma::UsesBslmaAllocator<bsl::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>>

Trait indicating hash_set uses bslma allocators when _Alloc allows.

Synopsis

Declared in <bslstp_hashset.h>

template<
    class _Value,
    class _HashFcn,
    class _EqualKey,
    class _Alloc>
struct UsesBslmaAllocator<bsl::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>>
    : bsl::is_convertible<Allocator*, _Alloc>

Base Classes

NameDescription
bsl::is_convertible<Allocator*, _Alloc>Meta-function for detecting implicit convertibility between types.

Type Aliases

NameDescription
type Alias for this integral_constant specialization.
value_type Alias for the (template parameter) t_TYPE.

Member Functions

NameDescription
operator() Return a copy of the template argument t_VALUE.
operator t_TYPE Return a copy of the template argument t_VALUE.

Static Data Members

NameDescription
value The compile-time constant value of this metafunction.