uses_allocator Structure


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at uses_allocator Structure.

Specializations that always hold 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;

Header: future

Namespace: std

Header Files Reference