RAD Studio
ContentsIndex
PreviousUpNext
E2089: Identifier 'identifier' cannot have a type qualifier (C++)

A C++ qualifier class::identifier can't be applied here. 

A qualifier is not allowed on the following:

  • typedef names
  • function declarations (except definitions at the file level)
  • on local variables or parameters of functions
  • on a class member--except to use its own class as a qualifier (redundant but legal).

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