namespace std {
template <class R, class Alloc>
struct uses_allocator<promise<R>, Alloc>
: true_type { };
}
この特殊化はC++11で導入され、C++26で削除された。
概要
uses_allocatorの、promise<R>に対する特殊化。
バージョン
言語
- C++11
処理系
- Clang: ??
- GCC: 4.7.0 ✅
- ICC: ??
- Visual C++: 2012 ✅