std::uses_allocator<std::dynarray> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::uses_allocator<std::dynarray>

From cppreference.com
< cpp‎ | container‎ | 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.

### [edit] See also

uses_allocator (C++11) | checks if the specified type supports uses-allocator construction (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/container/dynarray/uses_allocator&oldid=63838"