template void toto::toto(T &) { ... } template toto &toto::doit() const { ... } template toto toto::count() { ... } main() { int i; toto x(i); x.count(); const char *p; toto > y(p); }
main() { int i; toto x(i); x.count(); const char *p; toto > y(p); }