Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still Problems with conversion from VC++ 5.0 to VC++ 6.0
Message
General information
Forum:
Visual C++
Category:
Troubleshooting
Miscellaneous
Thread ID:
00414786
Message ID:
00415289
Views:
19
Hi Judith,

Whenever I use class or function templates I use the something along the lines of this:-
template<class T> void myFunc(T, int)      {};
template<class T> void myFunc(T, int, int) {};
You could also declare specializations of function templates if you wanted by doing this:-
template<> void myFunc(double, int, int) {};
If you enter the above code in Visual C++ 6 SP4 whenever you use myFunc you get all the correct parameter info in a tooltip and no compilation errors.

HTH
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform