Monday, November 22, 2010

Non-Type Parameter Declarations

The following specifiers can be included in a non-type template parameter declaration:
    const
    volatile

The following specifiers cannot be included in a non-type template parameter declaration:
    static
    mutable

Reference: C++ Templates by David Vandevoorde and Nicolai M. Jouttis. Addison-Wesley, 2003.

No comments:

Post a Comment