std::std::uses_allocator<div class="t-tr-text">。 <std::promise>。<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">原文:</div><div class="t-tr-dropdown-orig"><std::promise></div><div class="t-tr-dropdown-notes">文本通过[http://translate.google.com 谷歌翻译]机器翻译。<br/>你可以帮忙校正和验证翻译。点击[[Cppreference:MachineTranslations|此处]]查看指示。</div></div></div></div></div>
来自cppreference.com
![]() |
该页由英文版维基使用谷歌翻译机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击此处。 |
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.