Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4620 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

no postfix form of 'operator ++' found for type 'type', using prefix form

There is no postfix increment operator defined for the given type. The compiler used the overloaded prefix operator.

This warning can be avoided by defining a postfix ++ operator. Create a two-argument version of the ++ operator as shown here:

class prepost
   prepost operator++ ()
 // inline prefix routine
   prepost operator++ ( int )
 // inline postfix routine

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2014 Microsoft