std::experimental::erased_type
< cpp | experimental
定义于头文件
<experimental/utility> |
||
struct erased_type { };
|
(库基础 TS) | |
结构体 erased_type
是空结构体,作为类型占位符,在实际类型于运行时确定的情形中使用。例如,使用类型擦除分配器的类中,嵌套 typedef allocator_type
是 erased_type
的别名。
定义于头文件
<experimental/utility> |
||
struct erased_type { };
|
(库基础 TS) | |
结构体 erased_type
是空结构体,作为类型占位符,在实际类型于运行时确定的情形中使用。例如,使用类型擦除分配器的类中,嵌套 typedef allocator_type
是 erased_type
的别名。