Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-10-27 11:16:20


Kevlin Henney wrote:
> I think this is an excellent suggestion. What are Booster preferences
> from the following possibilities:
>
> (1) Add specific throws:
> (a) Not at all.
> (b) Distinguished by initialiser string.
> (c) Distinguished by enum.
> (d) Both (b) and (c).

(f) different exception types, all derived from a common base
(named bad_lexical_cast for backwards-compatibility with existing
catch clauses).

> (2) Add type information details:
> (a) Not at all.
> (b) In exception result string.
> (c) As attributes to represent the type_info of the source and target.
> (d) Both (b) and (c).

At least (c), (d) is probably not really necessary, but might be
nice to have anyway.

Jens Maurer


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