May 2003
Intermediate to advanced
808 pages
32h 24m
English
export specifier — Exported template specifier
template-decl ::= [export] template < template-parm-list > declaration
The export specifier declares
a template to be exported. An exported template lets you compile the
definitions of a function template, or the member definitions of a
class template, separately from the template’s declaration.
Most compilers do not support export.
exporttemplate<typename T> class point { public: point(T x, T y); };exporttemplate<typename T> point::point(T x, T y) { ... }
template, Chapter 7