Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-02-12 09:34:26


"Brock Peabody" <brock.peabody_at_[hidden]> writes:

>> On Behalf Of David Abrahams
>
>> And what about the one Daniel Wallin posted, which doesn't require
>> all exceptions to be registered in one big compile-time list?
>
> I'd rather be able to put them all in a list than to have to manually
> register each one.

?? it seems equivalent to me.

> However, given a runtime registration mechanism I guess it shouldn't
> be too difficult to implement a compile to interface on top and it
> would probably compile faster than a version implemented completely
> at compile time.

Yup. More importantly, it works even if different libraries register
separate translators for exceptions in the same class hierarchy,
without regard to registration order.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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