uses_allocator — Struktura
Specjalizacje, które zawsze mają wartość true.
Składnia
template <class Ty, class Alloc>
struct uses_allocator<promise<Ty>, Alloc> : true_type;
template <class Ty, class Alloc>
struct uses_allocator<packaged_task<Ty>, Alloc> : true_type;
Wymagania
Nagłówek:<przyszłość>
Przestrzeń nazw: std
Specjalizacje
<krotka>
template <class... Types, class Alloc>
struct uses_allocator<tuple<Types...>, Alloc>;