RAD Studio |  |

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

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

Copy Code

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

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!