Here they are:
Technorati Tags: C++ Black Forest
- using "#include " to include all names defined in the included file (mostly are headers)
- using "extern" to introduce names (of variables and functions) with external linkage
- using "class x" to do a forward declaration
- using "typedef x y" to introduce type names, due to ODR (one definition rule), it won't cause duplicate definitions
- using "template <typename T> class t; typedef t<x> y;" to introduce a specification of a template into the header, due to two-phase parsing and POI (point of instantiation), this will also not cause a duplicate definitions
Technorati Tags: C++ Black Forest
powered by performancing firefox