template< class R, class Alloc >
struct uses_allocator<std::packaged_task<R>, Alloc> : true_type { }; |
(C++11 起) (C++17 前) |
|
提供 std::uses_allocator 对 std::packaged_task 的特化。
目录 |
value
[静态]
|
true (公开静态成员常量) |
operator bool
|
转换对象为 bool ,返回 value (公开成员函数) |
operator()
(C++14)
|
返回 value (公开成员函数) |
类型 | 定义 |
value_type
|
bool
|
type
|
std::integral_constant<bool, value> |
(C++11)
|
检查指定的类型是否支持使用分配器的构造 (类模板) |