Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-06-21 16:51:48


Emil Dotchevski wrote:

>I came up with a solution which seems to solve the problem, and I wanted to
>see if there is sufficient interest in it to be added to boost.
>
>Essentially, the idea is to decouple all context information, such as file
>names, etc., from the "what went wrong" information. The "what went wrong"
>is indicated exclusively by the type of the exception being thrown (e.g.
>read_error). Any additional information should be independent of that type,
>because in different contexts different information may be relevant, for the
>same type of error.
>
>
This seems quite a novel approach, and would probably be interesting to
play around with. Whether it's useful can probably only be determined by
experimentation.

Sebastian Redl


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