Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still Problems with conversion from VC++ 5.0 to VC++ 6.0
Message
Information générale
Forum:
Visual C++
Catégorie:
Problèmes
Divers
Thread ID:
00414786
Message ID:
00415289
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform