Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2004-03-01 06:58:10


Guillaume Melquiond <guillaume.melquiond_at_[hidden]> writes:

| With this new definition of the macros, it seems to me you can't use
| multiple catch (a handler sequence). But I don't see any way to define
| the macros such that BOOST_TRY {} BOOST_CATCH(_) {} BOOST_CATCH(_) {}
| works as expected. Adding a BOOST_TRY_END would solve the problem. But
| maybe someone can find a better solution without adding any macro.

Would something that resulted in:

if (true) {
} else if (false) {
} else if (false) {
}

work?

try {
} catch () {
} catch () {
}

-- 
	Lgb

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