View Single Post
Re: Calling template member functions??
Old
  (#4)
Rick
Council Member
 
Rick's Avatar
 
Status: Offline
Posts: 690
Join Date: Dec 2003
Location: Holland
Default Re: Calling template member functions?? - 25-02-2004

ehh templates are normal c++ Stefan So is the rest except the line whith the error I guess.

http://www.cplusplus.com/doc/tutorial/tut5-1.html

meh to late

I did some searching the problem is that int his line;
pTest->CallFunc<CTest2>(pTest, CTest::bleh);

the compiler sees the '<' and the '>' as less-and greater then operators...
After I searched a bit in my book it sayed you have to use the template keyword like I did but it seems that msvc 6.0 this doesn't support

Last edited by Rick; 25-02-2004 at 17:53..
  
Reply With Quote