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"
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|