Skip to content

Latest commit

 

History

History
69 lines (61 loc) · 2.37 KB

File metadata and controls

69 lines (61 loc) · 2.37 KB
title <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
<list>
std.<list>
std::<list>
dev_langs
C++
helpviewer_keywords
list header
ms.assetid 2345823b-5612-44d8-95d3-aa96ed076d17
caps.latest.revision 20
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

<list>

Defines the container template class list and several supporting templates.

Syntax

#include <list>  

Operators

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

Classes

list Class A template class of sequence containers that maintain their elements in a linear arrangement and allow efficient insertions and deletions at any location within the sequence.

See Also

Header Files Reference
Thread Safety in the C++ Standard Library
C++ Standard Library Reference