IntrusiveForwardListBase class provides base functionalities for IntrusiveForwardList class, but without any knowledge about types.
More...
#include "estd/IntrusiveForwardList.hpp"
IntrusiveForwardListBase class provides base functionalities for IntrusiveForwardList class, but without any knowledge about types.
This class tries to provide an interface similar to std::forward_list.
◆ IntrusiveForwardListBase()
constexpr estd::internal::IntrusiveForwardListBase::IntrusiveForwardListBase |
( |
| ) |
|
|
inline |
◆ ~IntrusiveForwardListBase()
estd::internal::IntrusiveForwardListBase::~IntrusiveForwardListBase |
( |
| ) |
|
|
inline |
◆ before_begin() [1/2]
- Returns
- pointer to "one before the first" node on the list
◆ before_begin() [2/2]
- Returns
- const pointer to "one before the first" node on the list
◆ begin() [1/2]
- Returns
- pointer to first node on the list
◆ begin() [2/2]
- Returns
- const pointer to first node on the list
◆ cbefore_begin()
- Returns
- const pointer to "one before the first" node on the list
◆ cbegin()
- Returns
- const pointer to first node on the list
◆ cend()
- Returns
- const pointer to "one past the last" node on the list
◆ clear()
void estd::internal::IntrusiveForwardListBase::clear |
( |
| ) |
|
|
inline |
Unlinks all nodes from the list.
◆ empty()
bool estd::internal::IntrusiveForwardListBase::empty |
( |
| ) |
const |
|
inline |
- Returns
- true is the list is empty, false otherwise
◆ end() [1/2]
- Returns
- pointer to "one past the last" node on the list
◆ end() [2/2]
- Returns
- const pointer to "one past the last" node on the list
◆ erase_after()
Unlinks the node following position from the list.
- Note
- No instance of the list is needed for this operation.
- Parameters
-
[in] | position | is a pointer to the node preceding the one which will be unlinked from the list |
- Returns
- pointer to the node that was following the node which was unlinked
◆ insert_after()
Links the node in the list after position.
- Note
- No instance of the list is needed for this operation.
- Parameters
-
[in] | position | is a pointer to node after which newNode will be linked |
[in] | newNode | is a reference to node that will be linked in the list |
◆ pop_front()
void estd::internal::IntrusiveForwardListBase::pop_front |
( |
| ) |
|
|
inline |
Unlinks the first node from the list.
◆ push_front()
Links the node at the beginning of the list.
- Parameters
-
[in] | newNode | is a reference to node that will be linked in the list |
◆ splice_after()
Transfers the node from one list to another list after position.
- Note
- No instance of any list is needed for this operation.
- Parameters
-
[in] | position | is a pointer to node after which spliced node will be linked |
[in] | beforeSplicedNode | is a pointer to node preceding the one which will be spliced from one list to another |
◆ swap()
Swaps contents with another list.
- Parameters
-
◆ rootNode_
root node of the intrusive forward list
The documentation for this class was generated from the following file: