class template

std::uses_allocator (tuple)

<tuple>
template <class T, class Alloc>
  struct uses_allocator<T,Alloc>;
Tuples use allocators
This trait specialization of uses_allocator informs that tuple can be constructed with an allocator, even though it does not have any allocator_type member. It is defined in the <tuple> header as:

1
2
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc > : true_type {};


See also