|
Boost Users : |
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2007-07-24 09:26:17
On Tue, Jul 24, 2007 at 03:04:50PM +0200, Ovanes Markarian wrote:
>
> Just a question: why do you need the do-while loop if this thing iterates anyway only once? You
> can define a new scope without do and while:
>
That's in the C FAQ: http://c-faq.com/cpp/multistmt.html
Without do/while, the following code wouldn't compile:
if(x)
THROW(x+1 == 0);
else
THROW(x == 7);
The macro name is definetly too long, i couldn't force myself to write
it even for this simple illustration.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net