RAD Studio
ContentsIndex
PreviousUpNext
W8063: Overloaded prefix operator 'operator' used as a postfix operator

(Command-line option to suppress warning: -w-pre) 

The C++ specification allows you to overload both the prefix and postfix versions of the ++ and -- operators. 

Whenever the prefix operator is overloaded, but is used in a postfix context, the compiler uses the prefix operator and issues this warning.  

This allows older code to compile.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!