On 2009-01-29 03:33:13 -0500, Daniel Keep <daniel.keep.li...@gmail.com> said:
while( range.nonEmpty ) { doSomethingWith(range.front); range.advanceFront; }
What I'd like is to place directly the range in the conditional expression and have it converted to a boolean (false if empty, true if not):
while (range) { doSomethingWith(range.front); range.advanceFront; } -- Michel Fortin michel.for...@michelf.com http://michelf.com/