Actually, there is separate compilation for templates (both functions and classes). The export keyword lets you to put template definitions in a file separate from the file in which the templates are instantiated. However, few compilers currently implement the export keyword.
This page last modified on 1 April 2004.