Iterator for intrusive lists based on ilist_node.
Synopsis
Declared in <llvm/ADT/ilist_iterator.h>
template<
class OptionsT,
bool IsReverse,
bool IsConst>
class ilist_iterator
: public ilist_detail::iterator_parent_access<ilist_iterator<OptionsT, IsReverse, IsConst>, OptionsT::parent_ty, IsConst>
Base Classes
Name |
Description |
Mixin that exposes getNodeParent() when the list uses ilist_parent. |
Type Aliases
Name |
Description |
Const pointer to a list element. |
|
Const reference to a list element. |
|
Signed distance between iterators. |
|
Bidirectional traversal category. |
|
Mutable or const pointer to a list element. |
|
Mutable or const reference to a list element. |
|
Element type referred to by this iterator. |
Member Functions
Name |
Description |
|
Constructors |
Assign from another iterator, allowing non‐const to const conversion. |
|
Get the underlying ilist_node. |
|
Const‐cast. |
|
Get a reverse iterator to the same node. |
|
Check for end. Only valid if ilist_sentinel_tracking<true>. |
|
Return true if this iterator points at a node (not a default‐constructed null). |
|
Dereference to the list element at this position. |
|
Increment operators |
|
Decrement operators |
|
Member access for the list element at this position. |
Friends
Name |
Description |
Return true if |
|
Return true if |
|
|
Mixin that exposes getNodeParent() when the list uses ilist_parent. |
|
Iterator for intrusive lists based on ilist_node. |
Created with MrDocs