I want to do a double linked list that has has in each element one operator(+-*/) and one value of type double. I am having trouble in defining the class of the list. Should I use C++ Class Template Specialization or what?
include<iostream>
using namespace std;
template <typename T>
class dblelist<T,double>
{
private:
struct node
{
double wert;
T zeichen;
node *prev;
node *nxt;
};
How do I write the node constructor above??
Thank you heaps!!!!