A
forward_list meets all of the requirements of a container
(Table
73), except that the
size()
member function is not provided and
operator== has linear complexity
. A
forward_list also meets all of the requirements for an allocator-aware
container (Table
76)
. In addition, a
forward_list
provides the
assign member functions
(Table
77) and several of the optional
container requirements (Table
78)
. Descriptions are provided here only for operations on
forward_list that are not described in that table or for operations where there
is additional semantic information
.