From: Maik Beckmann (maikbeckmann_at_[hidden])
Date: 2007-11-25 12:46:53
Am Sonntag 25 November 2007 18:28:47 schrieb Lars Gullik Bjønnes:
> Which brings be to a nother point: It is _very_ bad of a library to
> require of the application to define NDEBUG to work properly.
> (The application should be able to decide for itself how NDEBUG/assert
> should be used.)
> Ublas should stop using NDEBUG and create their own BOOST_UBLAS_DEBUG
> or similar and use that instead.
> And I should probably go pester the ublas guys as well...
I'm don't know if I got you wrong, but doesn't BOOST_UBLAS_NDEBUG provide what
you looking for?
// Enable performance options in RELEASE mode
#if defined (NDEBUG) || defined (BOOST_UBLAS_NDEBUG)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk