Original Post
I have run into a problem in a class i have just written with templating. I've fixed this problem before, recently in fact but for some reason the solution i used has escaped my mind all evening... The set up: I have a templated class with a class embedded inside of it... The embedded class is not templated... The problem: Error: expected constructor, destructor, or type conversion before '*' token Location of problem: 1 - template 2 - t_class::e_class* t_class::e_class::DoSomething() 3 - { 4 - //Do something and return a pointer of type e_class 5 - } Using dev c++, clicking on the error msg, sends me to line 2 of this segment in 4 places of my code. If anyone knows what i need to do, let me know plz. Any help is appreciated, thx!