15 lines
377 B
C++
15 lines
377 B
C++
#pragma once
|
|
#include "../Generic/undirectednode.h"
|
|
|
|
namespace Datastructures {
|
|
namespace Nodes {
|
|
template <typename T>
|
|
class LinkedListNode : public Generic::UndirectedNode<T, LinkedListNode<T>>
|
|
{
|
|
public:
|
|
//Inherit Constructor and destructor from generic Undirectetd Node
|
|
using Generic::UndirectedNode<T, LinkedListNode<T>>::UndirectedNode;
|
|
private:
|
|
};
|
|
}
|
|
} |