uses_allocator Structure

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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
<future>

Show: