BloombergLP::bslma::UsesBslmaAllocator<bsl::list<VALUE, ALLOCATOR>>

Trait indicating bsl::list uses bslma allocators when ALLOCATOR allows.

Synopsis

Declared in <bslstl_list.h>

template<
    class VALUE,
    class ALLOCATOR>
struct UsesBslmaAllocator<bsl::list<VALUE, 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.