<forward_list>

 

The latest version of this topic can be found at <forward_list>.

Defines the container template class forward_list and several supporting templates.

Syntax

#include <forward_list>  

Operators

operator== (<forward_list>) Tests if the forward list object on the left side of the operator is equal to the forward list object on the right side.
operator!= (<forward_list>) Tests if the forward list object on the left side of the operator is not equal to the forward list object on the right side.
operator< (<forward_list>) Tests if the forward list object on the left side of the operator is less than the forward list object on the right side.
operator<= (<forward_list>) Tests if the forward list object on the left side of the operator is less than or equal to the forward list object on the right side.
operator> (<forward_list>) Tests if the forward list object on the left side of the operator is greater than the forward list object on the right side.
operator>= (<forward_list>) Tests if the forward list object on the left side of the operator is greater than or equal to the forward list object on the right side.

Functions

swap (<forward_list>) Exchanges the elements of two forward lists.

Classes

forward_list Describes an object that controls a varying-length sequence of elements. The sequence is stored as a singly-linked list of elements, each containing a member of type Type.

See Also

Header Files Reference