Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 2.52 KB

File metadata and controls

75 lines (63 loc) · 2.52 KB
title <forward_list> | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
<forward_list>
std::<forward_list>
std.<forward_list>
dev_langs
C++
helpviewer_keywords
<forward_list>
ms.assetid 8b4ab09e-1475-434a-b4e0-fdbc07a08b5b
caps.latest.revision 14
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

<forward_list>

Defines the container template class forward_list and several supporting templates.

Syntax

#include <forward_list>  

Operators

operator== 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!= 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< 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<= 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> 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>= 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 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