W3cubDocs

/C++

std::uses_allocator<std::dynarray>

template< class T, class Alloc >
struct uses_allocator<dynarray<T>, Alloc> : std::true_type;
(since C++14)

Provides a specialization of the std::uses_allocator type trait for std::dynarray. A dynarray may be constructed with an allocator, even though the class does not have allocator_type member type.

See also

checks if the specified type supports uses-allocator construction
(class template)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/dynarray/uses_allocator