RAD Studio
ContentsIndex
PreviousUpNext
E2100: Invalid template declarator list (C++)

It is illegal for a declarator list to follow a template class declaration. For example:

template<class T>
class foo {
} object_name;  // This causes an error
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!