Definitions and conventions

The nomenclature of templates is confusing. According to the ANSI drafts, a class template is the definition of the template for the class.

      template <class AType>
      class TArrayOf {...} ;
A specialized class is a class produced by invoking the template.

    TArrayOf<TGPoint> array;

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker