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

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!