Поделиться через


Структура uses_allocator

Специализации, которые всегда содержат значение true.

Синтаксис

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;

Требования

Заголовок:<будущее>

Пространство имен: std

Специализации

<tuple>

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

См. также

Справочник по файлам заголовков
<future>