RAD Studio |  |

E2479: Cannot have both a template class and function named 'name' (C++)

No other function or type may have the same name as a template class. For example:

Copy Code

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

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