Megosztás a következőn keresztül:


forward_list::get_allocator

Returns a copy of the allocator object used to construct a forward list.

allocator_type get_allocator() const;

Return Value

The stored allocator object.

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

forward_list::allocator_type

forward_list Class