Boost logo

Boost :

Subject: Re: [boost] [Booster] Or boost is useless for library developers
From: Peter Dimov (pdimov_at_[hidden])
Date: 2010-05-20 14:50:14

Lassi Tuura wrote:

> If you want to be amused, one of the most common template ones that bite
> us by generating tons of stuff all over the place is __PRETTY_FUNCTION__
> inside the boost::shared_ptr's assertions :-)
> Alas we can't enable -DNDEBUG for all our software, there are useful
> assertions elsewhere.

You can disable just BOOST_ASSERT with BOOST_DISABLE_ASSERTS though. But I
suspect you don't want to do that either because you're using
BOOST_ENABLE_ASSERT_HANDLER, or you wouldn't be getting the
__PRETTY_FUNCTION__s. Patch current_function.hpp then. :-)

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