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 an iterator providing non‐modifiable access to the first |
|
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 the past‐the‐end reverse iterator providing non‐modifiable access to this list. |
|
Insert at the specified |
|
Append to the back of this list a newly created |
|
Prepend to the front of this list a newly created |
|
Return |
|
|
|
|
|
|
|
Return a copy of the allocator used for memory allocation by this list. |
|
|
|
Insert at the specified |
|
Return an upper bound on the largest number of elements that this list could possibly hold. Note that the return value of this function does not guarantee that this list can successfully grow that large, or even close to that large without running out of resources. |
|
|
|
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 the elements having the specified |
|
Erase all the elements in this list for which the specified unary |
|
|
|
|
|
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 the template parameter |
|
Deduce the template parameter |
|
Deduce the template parameter |
|
Deduce the template parameter |
|
Deduce the template parameter |
|
|
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 the elements in the specified list |
|
Erase all the elements in the specified list |
|
Perform a lexicographic three‐way comparison of the specified |
|
Return |
|
Exchange the value of the specified |
Created with MrDocs