名前空間
変種
操作

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">Original:</div><div class="t-tr-dropdown-orig"><std::promise></div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>

提供: cppreference.com
< cpp‎ | thread‎ | promise

template< class R, class Alloc >
struct uses_allocator<std::promise<R>, Alloc> : true_type { };
(C++11およびそれ以降)
std::uses_allocatorstd::promise型形質の特殊化を提供しています.
Original:
Provides a specialization of the std::uses_allocator type trait for std::promise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] も参照してください

チェックを指定した型が使用するアロケータ構築をサポートしている場合
Original:
checks if the specified type supports uses-allocator construction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラステンプレート) [edit]