|
-
Aug 2nd, 2002, 12:29 AM
#1
[RESOLVED] calling a template funct from a template
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??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|