stl_list.h File Reference


Detailed Description

This is an internal header file, included by other library headers. You should not attempt to use it directly.

Definition in file stl_list.h.#include <bits/concept_check.h>

Include dependency graph for stl_list.h:

Include dependency graph

Go to the source code of this file.

Namespaces

Classes

Defines

Functions


Function Documentation

bool operator!= const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

Based on operator==.

Definition at line 1204 of file stl_list.h.

bool operator< const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

List ordering relation.

Parameters:
x A list.
y A list of the same type as x.
Returns:
True iff x is lexicographically less than y.
This is a total ordering relation. It is linear in the size of the lists. The elements must be comparable with <.

See std::lexicographical_compare() for how the determination is made. Definition at line 1197 of file stl_list.h.

References std::lexicographical_compare().

bool operator<= const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

Based on operator<.

Definition at line 1216 of file stl_list.h.

bool operator== const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

List equality comparison.

Parameters:
x A list.
y A list of the same type as x.
Returns:
True iff the size and elements of the lists are equal.
This is an equivalence relation. It is linear in the size of the lists. Lists are considered equivalent if their sizes are equal, and if corresponding elements compare equal. Definition at line 1168 of file stl_list.h.

References list::begin(), and list::end().

bool operator> const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

Based on operator<.

Definition at line 1210 of file stl_list.h.

References std::operator>().

bool operator>= const list< Type, Alloc > &  x,
const list< Type, Alloc > &  y
[inline]
 

Based on operator<.

Definition at line 1222 of file stl_list.h.

References std::operator>=().

void swap list< Type, Alloc > &  x,
list< Type, Alloc > &  y
[inline]
 

See std::list::swap().

Definition at line 1228 of file stl_list.h.

References list::swap(), and std::swap().


Generated on Sun Sep 12 15:50:05 2004 for libstdc++ source by doxygen 1.3.8