<forward_list>

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Defines the container template class forward_list and several supporting templates.

#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_listDescribes 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.

Header Files Reference

Show: