#include #pragma once class ListElement { public: ListElement(T* d) { next = NULL; data = d; } T* getData(void) {ret