C++ non-type template parameters: Is typedef of an integral type an integral type? -
i know can function template template<int n> void f () {}
.
but template<std::size_t n> void f() {}
?
a typedef
alias given type. typedef
of integral type integral type. , types don't more integral std::size_t
.
Comments
Post a Comment