This documentation is archived and is not being maintained.

25.2 Managed Templates

Visual Studio .NET 2003

Managed templates are not supported for this release.


template <class T> __gc class G {};   // error

Managed types shall not be the parameter type of a template type list. However, templates can be instantiated with managed types. For example, see vcclr.h (Section 16.3).