Difference between revisions of "cpp/thread/packaged task/uses allocator"
From cppreference.com
< cpp | thread | packaged task
m (Text replace - "/sidebar" to "/navbar") |
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh) |
||
Line 12: | Line 12: | ||
{{dcl list template | cpp/memory/dcl list uses allocator}} | {{dcl list template | cpp/memory/dcl list uses allocator}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Revision as of 20:21, 2 November 2012
template< class R, class Alloc > struct uses_allocator<std::packaged_task<R>, Alloc> : true_type { }; |
(since C++11) | |
Provides a specialization of the std::uses_allocator type trait for std::packaged_task.