Forward declaration required by List_NodeProctor.
Synopsis
Declared in <bslstl_list.h>
template<
class LIST_VALUE,
class LIST_ALLOCATOR = bsl::allocator<VALUE>>
class list;
Type Aliases
Name |
Description |
Allocator type used by this list. |
|
Iterator providing non‐modifiable access to elements in this list. |
|
Pointer to a non‐modifiable element in this list. |
|
Reference to a non‐modifiable element stored in this list. |
|
Reverse iterator over non‐modifiable list elements. |
|
Signed integral type used to express distances between iterators. |
|
Iterator providing modifiable access to elements in this list. |
|
Pointer to a modifiable element in this list. |
|
Reference to an element stored in this list. |
|
Reverse iterator over modifiable list elements. |
|
Unsigned integral type large enough to hold any valid element count. |
|
Type of the elements stored in this list. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this list by calling the destructor for each element and deallocating all allocated storage. |
Assignment operators |
|
Append to the end of this object the elements of the specified |
|
|
|
Assign to this object the elements of the specified |
|
|
|
|
|
Return a const iterator to the first element, or |
|
Return the past‐the‐end (forward) iterator providing non‐modifiable access to this list. |
|
Remove all the elements from this list. |
|
Return a reverse iterator providing non‐modifiable access to the last element in this list, and the past‐the‐end reverse iterator if this list is empty. |
|
Return a const reverse iterator to the reverse end of this list. |
|
Insert a newly constructed |
|
Append a newly constructed |
|
Prepend a newly constructed |
|
Return |
|
|
|
|
|
|
|
Return a copy of the allocator used for memory allocation by this list. |
|
|
|
Insert the elements of |
|
Return an upper bound on the largest number of elements this list can hold. |
|
|
|
Remove and destroy the last element of this list. The behavior is undefined unless this list contains at least one element. |
|
Remove and destroy the first element of this list. The behavior is undefined unless this list contains at least one element. |
|
Prepend to the front of this object the elements of the specified |
|
|
|
|
|
|
|
Erase all elements equal to |
|
Erase all elements for which |
|
|
|
|
|
Reverse the order of the elements in this list. |
|
Return the number of elements in this list. |
|
|
|
|
|
Exchange the value of this object with that of the specified |
|
|
Deduction Guides
Name |
Description |
Deduce |
|
Deduce |
|
Deduce |
|
Deduce |
|
Deduce |
|
|
Deduce the template parameters |
Friends
Name |
Description |
This class provides a proctor to free a node containing an uninitialized |
Non-Member Functions
Name |
Description |
Erase all elements in |
|
Erase all elements in |
|
Perform a lexicographic three‐way comparison of |
|
Return |
|
Exchange the values of the specified |
Created with MrDocs