E2484 The name of template class 'class' cannot be overloaded (C++)

From RAD Studio
Jump to: navigation, search

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

Attempting to declare a function that overrides the name of a template class will cause this error. For example:

template<class T>
class foo;
void foo();// error: there is a template class named "foo"