class templates and parameter passing to constructors in c++
what wrong in this statement
cosequential is a base class in cosequential.h
strclass is a class in strclass.h
strlist inherits cosequential class and inludes strclass
in this class i want to send parameter to the base classs i.e cosequential class constructor
the statement is like this
stlist::strlist(int i,int j):coseqential<String&>(i)
cosequential uses the class template
i am getting error at this point.
Re: class templates and parameter passing to constructors in c++
You have submitted the post as an Article and I have moved to the forum for discussion. Also can you share the error you are getting.
|All times are GMT +5.5. The time now is 18:14.|