NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 1) C4621

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

There was no postfix decrement 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 below:

class prepost
{
public:
   prepost operator-- ()
   {
 // inline prefix routine
   };
   prepost operator-- ( int )
   {
 // inline postfix routine
   };
}