Difference between revisions of "cpp/thread/packaged task/uses allocator"
From cppreference.com
< cpp | thread | packaged task
(+) |
(typo) |
||
Line 6: | Line 6: | ||
}} | }} | ||
− | Provides a specialization of the {{c|std::uses_allocator}} type trait for {{c|std:: | + | Provides a specialization of the {{c|std::uses_allocator}} type trait for {{c|std::}}. |
===See also=== | ===See also=== |
Revision as of 12:40, 22 April 2012
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.