using namespace std;
template void f(T x, T y) { cout << "Template" << endl; }
void f(int w, int z) { cout << "Non-template" << endl; }
int main() { f( 1 , 2 ); f('a', 'b');enter code here f( 1 , 'b'); }
enter code here
Aucun commentaire:
Enregistrer un commentaire