RAD Studio
ContentsIndex
PreviousUpNext
E2077: 'operator' must be declared with one or no parameters (C++)

When operator ++ or operator -- is declared as a member function, it must be declared to take either:

  • No parameters (for the prefix version of the operator), or
  • One parameter of type int (for the postfix version)

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