BloombergLP::bslmf::UsesAllocatorArgT

Metafunction that is true_type if t_TYPE uses allocator_arg_t construction.

Synopsis

Declared in <bslmf_usesallocatorargt.h>

template<class t_TYPE>
struct UsesAllocatorArgT
    : DetectNestedTrait<t_TYPE, UsesAllocatorArgT>::type

Description

User-specialized trait type indicating that the constructor of t_TYPE can be invoked using bsl::allocator_arg as its first argument and an allocator object as its second argument.

Base Classes

NameDescription
DetectNestedTrait<t_TYPE, UsesAllocatorArgT>::type

Specializations

NameDescription
UsesAllocatorArgT<t_TYPE volatile> Partial specialization that associates the same trait with `volatile t_TYPE as with unqualified t_TYPE`.
UsesAllocatorArgT<t_TYPE const> Partial specialization that associates the same trait with `const t_TYPE as with unqualified t_TYPE`.
UsesAllocatorArgT<t_TYPE const volatile> Partial specialization that associates the same trait with `const volatile t_TYPE as with unqualified t_TYPE`.