A
forward_list meets all of the requirements
of a container (
[container.reqmts]),
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 (
[container.alloc.reqmts])
. In addition, a
forward_list
provides the
assign member functions and
several of the optional sequence container requirements (
[sequence.reqmts])
. 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
.