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.