Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-05-03 06:08:58


Beman,

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.

Thanks!

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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