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

Synopsis

Declared in <bslstl_multimap.h>

template<
    class KEY,
    class VALUE,
    class COMPARATOR,
    class ALLOCATOR>
struct UsesBslmaAllocator<bsl::multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>>
    : bsl::is_convertible<Allocator*, ALLOCATOR>

Base Classes

Name

Description

bsl::is_convertible<Allocator*, ALLOCATOR>

Meta‐function for detecting implicit convertibility between types.

Type Aliases

Name

Description

type

Alias for this integral_constant specialization.

value_type

Alias for the (template parameter) t_TYPE.

Member Functions

Name

Description

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

Name

Description

value

The compile‐time constant value of this metafunction.

Created with MrDocs