Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private:
- /** Structure for the internal linked list. */
- struct TNode
- {
- /** Holds a pointer to the next node in the list. */
- TNode* volatile NextNode;
- /** Holds the node's item. */
- ItemType Item;
- /** Default constructor. */
- TNode()
- : NextNode(nullptr)
- { }
- /** Creates and initializes a new node. */
- explicit TNode(const ItemType& InItem)
- : NextNode(nullptr)
- , Item(InItem)
- { }
- /** Creates and initializes a new node. */
- explicit TNode(ItemType&& InItem)
- : NextNode(nullptr)
- , Item(MoveTemp(InItem))
- { }
- };
- /** Holds a pointer to the head of the list. */
- MS_ALIGN(16) TNode* volatile Head GCC_ALIGN(16);
- /** Holds a pointer to the tail of the list. */
- TNode* Tail;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement