C++ Tuple Library - uses_allocator



Description

It uses allocator for tuple and iinforms 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.

Declaration

Following is the declaration for std::uses_allocator<tuple>

C++98

	
template <class... Types, class Alloc>
   struct uses_allocator<tuple<Types...>,Alloc>;

C++11

template <class... Types, class Alloc>
   struct uses_allocator<tuple<Types...>,Alloc>;
tuple.htm
Advertisements