MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
is_allocable< T > 模板结构体 参考

判断类型是否可以进行内存分配 更多...

#include <type_traits.hpp>

详细描述

template<typename T>
struct is_allocable< T >

判断类型是否可以进行内存分配

模板参数
T要检查的类型

类型必须同时满足以下条件才能被分配:

  1. 不是void类型
  2. 不是引用类型
  3. 不是函数类型
  4. 不是const限定的类型
  5. 已被实现

在文件 type_traits.hpp1802 行定义.


该结构体的文档由以下文件生成: