在某些情况下,不可能推断模板实参的类型。
In some situations, it is not possible to deduce the types of the template arguments.
相反的,一个非类型模板实参是模板里的常量,所以任何试图修改它的行为都是错误的。
Conversely, a non type template argument is a constant within the template so that an attempt to change the value of a parameter is an error.
应用推荐