RAD Studio
ContentsIndex
PreviousUpNext
E2430: Number of template parameters does not match in redeclaration of 'specifier' (C++)

If a template is redeclared with a different number of template parameters, this error will result. For example:

template<class T>
class foo;
template<class T, int U>
class foo;// error: parameter count mismatch!
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!