表示设置对象的分配器选件类的类型。
typedef Allocator allocator_type;
备注
allocator_type 是模板参数的 分配器同义词。
返回多个集使用对其元素,是模板参数 Allocator的函数对象。
有关 Allocator的更多信息,请参见 set Class 主题的"备注"节。
示例
使用 allocator_type的示例 get_allocator 参见示例。
要求
标头: <set>
命名空间: std
表示设置对象的分配器选件类的类型。
typedef Allocator allocator_type;
allocator_type 是模板参数的 分配器同义词。
返回多个集使用对其元素,是模板参数 Allocator的函数对象。
有关 Allocator的更多信息,请参见 set Class 主题的"备注"节。
使用 allocator_type的示例 get_allocator 参见示例。
标头: <set>
命名空间: std