Templates are kinda new to me I want to call a class template function from another class template function... here is what I mean.
template <class T>
void CPie::SetInitVect(T, const int dev){
int val;
....
SetSections(T,val);
}
template <class T>
void CPie::SetSections(T,int size){
}
can't do this though.... gets mad about the T in the call
: error C2275: 'T' : illegal use of this type as an expression
any ideas??


Reply With Quote
:MoMad: 