<tuple>

tuple

class template
<tuple>

std::uses_allocator<tuple>

template <class... Types, class Alloc>
  struct uses_allocator<tuple<Types...>,Alloc>;
Uses allocator for tuple
This trait specialization of uses_allocator informs that tuple objects can be constructed with allocators, even though the class does not have any allocator_type member. It is defined in the <tuple> with the same behavior as:

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


See also