From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2007-11-25 13:00:02
Maik Beckmann <maikbeckmann_at_[hidden]> writes:
| 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)
That seems to be unreleased code?
Hmm, or am I trying to beat up something does not exist. At lest in
1.33.1 BOOST_UBLAS_NDEBUG is not there. (same in 1.34 it seems)
But yes, that seems to provide what I am looking for. Now the rest of
the NDEBUG's must be looked at :-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk