![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Intrusive links maintained for one forward-list node. More...
#include <fwd_llist.h>
Public Member Functions | |
| GAIA_NODISCARD bool | linked () const |
| Returns true if the node is linked with another. | |
Public Attributes | |
| T * | next = nullptr |
| Pointer the the next element. | |
| T ** | prevs_next = nullptr |
| Pointer to the memory address of the previous node's "next". This is not meant for traversal. It merely allows for maintaining the forward links of the list when removing an item, and allows O(1) removals even in a forward list. | |
Intrusive links maintained for one forward-list node.
| T | Node type. |
|
inline |
Returns true if the node is linked with another.