1 #ifndef VOXELOOP_LINKEDLIST_HPP
2 #define VOXELOOP_LINKEDLIST_HPP
4 template <
class T>
struct Node {
17 if (
head ==
nullptr) {
22 while (temp->
next !=
nullptr) {
30 auto *node =
new struct Node<T>;
Definition: LinkedList.hpp:9
void addData(T data)
Definition: LinkedList.hpp:13
struct Node< T > * head
Definition: LinkedList.hpp:11
LinkedList()
Definition: LinkedList.hpp:12
struct Node< T > * newNode(T data)
Definition: LinkedList.hpp:29
Definition: LinkedList.hpp:4
struct Node< T > * next
Definition: LinkedList.hpp:6
T data
Definition: LinkedList.hpp:5