23 [[nodiscard]]
bool isEmpty()
const {
return front ==
nullptr; }
41 void queueBackUnchecked(T& item, T& newBack);
An Intrusive Double Linked List.
Definition IntrusiveDoubleLinkedList.h:18
bool isEmpty() const
Return true if the linked list is empty.
Definition IntrusiveDoubleLinkedList.h:23
void remove(T &item)
Removes item from this linked list.
T * dequeueFront()
Removes and returns the first element of the linked list.
void queueBack(T &item)
Appends item to the back of this linked list.
void clear()
Clears this linked list removing links between all linked list elements.
void appendBack(IntrusiveDoubleLinkedList &other)
Appends another list at the back of current list.