forward_list::begin

Returns an iterator addressing the first element in a forward list.

const_iterator begin() const;
iterator begin();

Return Value

A forward iterator that points at the first element of the sequence (or just beyond the end of an empty sequence).

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

forward_list Class