E2430 Number of template parameters does not match in redeclaration of 'specifier' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

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!