3#include "../FoundationBase.h"
18 bool operator!=(
const Iterator& other)
const {
return ptr != other.ptr; }
19 Iterator& operator++() { ptr = ptr->next;
return *
this; }
27 Iterator begin() {
return { head }; }
28 Iterator end() {
return { (IntrusiveNode*) & tail }; }
34 void pushFront(IntrusiveNode* node);
35 void pushBack(IntrusiveNode* node);
36 void remove(IntrusiveNode* node);
37 void insert(IntrusiveNode* prev, IntrusiveNode* node);
38 IntrusiveNode* popFront();
39 IntrusiveNode* popBack();
40 IntrusiveNode* back();
Contains all Cogs related functionality.