Mail Archives: djgpp/1997/04/09/04:55:34
Alaric B. Williams wrote:
>>operator++(int) is postfix
>>operator++() is prefix
>
>The ugliest syntax hack ever to see the light of day :-(
Not quite, I think, but close. However, it's certainly one of
the most counter-intuitive ones - the first looks prefix, with
the parameter after the operator, and the second looks postfix
with the variable obviously before (as in x.operator++()).
On the same subject, is there a decent C++ book which comes
close to the current draft standard? The ones I've seen seem
to be several years out of date. The only recent standard I've
come across is that on the Web at http://www.setech.com/x3.html
which is the current discussion document, but that's reference
and doesn't really discuss it in an easily understood way (it
took me over an hour to find the 'delete' operator, for instance).
>(Windows for Early Warning and Defence User's manual P26)
Oh yes, I looked at your site. Do you have any more of the
manual than the excerpts on your page? I put in a link from
my Web page (http://www.keris.demon.co.uk/), and at least
one person has followed it and wants a copy of WfEWD...
Chris
- Raw text -