Date: Tue, 08 Apr 1997 09:00:51 +1200 From: Bill Currie Subject: Re: funny re user-defined ++ and -- operators To: Anthony DOT Appleyard AT umist DOT ac DOT uk Cc: DJGPP AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <33496083.4938@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <4C4D410EC4 AT fs2 DOT mt DOT umist DOT ac DOT uk> Anthony.Appleyard wrote: > (1) Line 10 used `--', but the warning re line 10 said `++'. Minor bug in cc1plus I guess. > (2) Do these warnings now mean that now I can declare distinct postfix and > prefix ++ and -- operators to use with classes? If so, how? operator++(int) is postfix operator++() is prefix same for -- Bill -- Leave others their otherness.