I am attempting to template a stack class and in the implementation of the class in the seperate file there is this line.
typedef [namespace]::stack<double> number_stack;
I am attempting to template this so that it will accept the generic T type.
The end goal then, would be to make it such that the templated type would allow for complex numbers as entries on the stack.
Could anyone help me with this issue please?