forward_list::get_allocator

返回用于的分配器对象的复制构造正向列表。

allocator_type get_allocator() const;

返回值

存储的 分配器 对象。

要求

标头: <forward_list>

命名空间: std

请参见

参考

forward_list::allocator_type

forward_list Class