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