“cpp/thread/promise/uses allocator”的版本间的差异
来自cppreference.com
小 (1个修订: Translate from the English version) |
小 (r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru) |
||
第13行: | 第13行: | ||
{{dcl list template | cpp/memory/dcl list uses allocator}} | {{dcl list template | cpp/memory/dcl list uses allocator}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
2012年11月2日 (五) 20:08的版本
![]() |
该页由英文版维基使用谷歌翻译机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击此处。 |
template< class R, class Alloc > struct uses_allocator<std::promise<R>, Alloc> : true_type { }; |
(C++11 起) | |
。提供一个专业化的std::uses_allocator型特征std::promise.
原文:
Provides a specialization of the std::uses_allocator type trait for std::promise.