14.1.4
A non-type template-parameter shall have one of the following (optionally cv-qualified) types:

* integral or enumeration type,
* pointer to object or pointer to function,
* reference to object or reference to function,
* pointer to member.

[Programming Language C++ (ISO)]

'Dev > C++' 카테고리의 다른 글

C++0x  (0) 2007.05.16
GRETA  (0) 2007.05.14
Member template specialization  (0) 2007.05.14
A member template cannot be virtual  (0) 2007.05.14
sgi STL - Why does Bounds Checker™ say that I have memory leaks?  (0) 2007.05.14

+ Recent posts