Структура uses_allocator
Специализации, всегда являются верными.
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;
Требования
Заголовок: future
Пространство имен: std