Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2001-05-03 06:47:47


At 07:08 AM 5/3/01 -0400, John Maddock wrote:

>I wonder is there any reason why:
>
> void report_exception( std::ostream & os,
> const char * name, const char * info )
>
>is not declared inline - the reason I ask is that without the inline
>declarator, catch_exceptions.hpp can only be used in a single translation
>unit, otherwise you get ODR violations (it messes up precompiled headers
as
>well BTW). Although this helper function is designed for use with the
test
>tools library, it is actually quite useful in it's own right, so it would
>be nice if this can be fixed.

I'll look at it, but it will have to wait a week or so. There are also
some other issues outstanding.

--Beman


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