Created Linked List node + Linked List - Incomplete
This commit is contained in:
6
DataStructures/src/LinkedList/linkedlist.cpp
Normal file
6
DataStructures/src/LinkedList/linkedlist.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "linkedlist.h"
|
||||
#include "linkedlistnode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
|
||||
}
|
20
DataStructures/src/LinkedList/linkedlist.h
Normal file
20
DataStructures/src/LinkedList/linkedlist.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
namespace Datastructures {
|
||||
class LinkedList
|
||||
{
|
||||
public:
|
||||
LinkedList();
|
||||
~LinkedList();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
LinkedList::LinkedList()
|
||||
{
|
||||
}
|
||||
|
||||
LinkedList::~LinkedList()
|
||||
{
|
||||
}
|
||||
}
|
7
DataStructures/src/LinkedList/linkedlistnode.cpp
Normal file
7
DataStructures/src/LinkedList/linkedlistnode.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include "linkedlistnode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
namespace Nodes {
|
||||
|
||||
}
|
||||
}
|
17
DataStructures/src/LinkedList/linkedlistnode.h
Normal file
17
DataStructures/src/LinkedList/linkedlistnode.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "../Generic/undirectednode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
namespace Nodes {
|
||||
template <typename T>
|
||||
class LinkedListNode : public Generic::UndirectedNode<T, LinkedListNode>
|
||||
{
|
||||
public:
|
||||
LinkedListNode();
|
||||
~LinkedListNode();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user