Boost logo

Boost :

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


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.


- John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at