Namespaces
Variants
Views
Actions

std::std::uses_allocator<std::packaged_task>

From cppreference.com
< cpp‎ | thread‎ | packaged task
Revision as of 12:40, 22 April 2012 by P12 (Talk | contribs)

Template:cpp/thread/packaged task/sidebar

template< class R, class Alloc >
struct uses_allocator<std::promise<R>, Alloc> : true_type { };
(since C++11)

Provides a specialization of the std::uses_allocator type trait for std::packaged_task.

See also

Template:cpp/memory/dcl list uses allocator