$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sohail Somani (s.somani_at_[hidden])
Date: 2005-08-24 14:05:13
> -----Original Message-----
> From: boost-users-bounces_at_[hidden] 
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of 
> Sohail Somani
> Hmm. That's an idea. I could probably do this within
> > Boost.Test so users 
> > wouldn't need to bother:
> > 
> > test_tools.hpp:
> > 
> > #if !defined(BOOST_TEST_NO_ASSERT_HANDLER)
> > 
> > namespace boost {
> > inline void assertion_failed(char const * expr, char const *
> > function, char 
> > const * file, long line)
> > {
> >     ...
> > }
> > }
> > 
> > #endif
> > 
> > This way by default I will always supply definition for the
> > function, unless 
> > user is willing to suply different one.
> 
> I imagine that would work unless they already use boost 
> assert and define it in their own code for logging purposes. 
> Perhaps something along the lines of boost assert for boost test?
On second thought, why not just modify BOOST_REQUIRE?