On Thu, Mar 16, 2006 at 10:28:22AM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
> 
> Andre> I'd prefer something like
> 
> Andre>     for (size_t i = cur.depth(); i--; )
> 
> You have to test for i>0 somewhere, don't you?

Testing for != 0 gives the same result in that range.
Note the i-- is in the 'test' position.

Andre'

Reply via email to