forward_list::max_size

Returns the maximum length of a forward list.

size_type max_size() const;

Return Value

The length of the longest sequence that the object can control.

Requirements

Header: <forward_list>

Namespace: std

See Also

Reference

forward_list::size_type

forward_list Class