Templates: Définitions et utilisation prev
next

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); }


Ch. Tronche - Année 96-97 - Page 11