Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
> | > Apart from it can be shortened by two lines:
> | >  for (size_t i = cur.depth(); i--; )
> | 
> | Now you're just being evil, André  At least be explicit about the exit
> | condition. I *think* that your code is equivalent to:
> | 
> |    for (size_t i = cur.depth(); i > 0; i--)
> 
> but then we want '--i' as well.

As a matter of style, yes, probably. However, for PODs there's no efficiency
penalty to i-- vis-à-vis --i.

How was the sailing?

Angus

Reply via email to