Freigeben über


uses_allocator-Struktur

Spezialisierungen, die immer TRUE sind.

Syntax

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;

Requirements (Anforderungen)

Header:<future>

Namespace: std

Spezialisierungen

<tuple>

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

Siehe auch

Headerdateienreferenz
<future>