Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-10-30 09:29:12

I believe ublas should not coopt the NDEBUG symbol used by <assert.h>, but
should define it's own symbol instead.

The user should be able to set a symbol, e.g., UBLAS_NDEBUG:

Just add this to ublas config.h:

#ifdef NDEBUG

Now replace all previous use of NDEBUG in ublas with UBLAS_NDEBUG. This will
have the desired effect that asserting NDEBUG will optimize ublas, but
without disabling assertions - these should be orthogonal.

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