RAD Studio
ContentsIndex
PreviousUpNext
E2505: Explicit instantiation requires an elaborated type specifier (i.e.,"class foo<int>") (C++)

The following code is illegal:

template<class T> class foo;

 

template foo<int>;            // missing `class' keyword
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!