BloombergLP::bslmf::UsesAllocatorArgT

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.

Synopsis

Declared in <bslmf_usesallocatorargt.h>

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

Base Classes

NameDescription
DetectNestedTrait<t_TYPE, UsesAllocatorArgT>::type

Specializations

NameDescription
UsesAllocatorArgT<t_TYPE volatile> Trait metafunction that determines whether the constructor of t_TYPE can be invoked using bsl::allocator_arg as its first argument and an allocator object as its second argument. The value is computed by stripping off the cv-qualifier and forwading to UsesAllocatorArgT<t_TYPE>, which is user-specialized for the appropriate types.
UsesAllocatorArgT<t_TYPE const> Trait metafunction that determines whether the constructor of t_TYPE can be invoked using bsl::allocator_arg as its first argument and an allocator object as its second argument. The value is computed by stripping off the cv-qualifier and forwading to UsesAllocatorArgT<t_TYPE>, which is user-specialized for the appropriate types.
UsesAllocatorArgT<t_TYPE const volatile> Trait metafunction that determines whether the constructor of t_TYPE can be invoked using bsl::allocator_arg as its first argument and an allocator object as its second argument. The value is computed by stripping off the cv-qualifier and forwading to UsesAllocatorArgT<t_TYPE>, which is user-specialized for the appropriate types.