Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2004-07-23 11:36:33


Hi,

I am trying to use construct similar to BOOST_FOREACH macro. In many cases I
need to be able to detect whether loop was aborted with break or not.

BOOST_FOREACH( ... )
{
}

// here
if( aborted ) {
....
}
else {
}

Is there way to do so?

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk