BloombergLP::bslma::UsesBslmaAllocator<bsl::deque<VALUE_TYPE, ALLOCATOR>>

Trait indicating deque uses bslma allocators when ALLOCATOR allows.

Synopsis

Declared in <bslstl_deque.h>

template<
    class VALUE_TYPE,
    class ALLOCATOR>
struct UsesBslmaAllocator<bsl::deque<VALUE_TYPE, ALLOCATOR>>
    : bsl::is_convertible<Allocator*, ALLOCATOR>

Base Classes

NameDescription
bsl::is_convertible<Allocator*, ALLOCATOR>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.