Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2004-09-20 04:10:11


It seems that the concept_checks are inactive in release cfg, at least
the lines

template <class Concept>
inline void function_requires(mpl::identity<Concept>* = 0)
#if !defined(NDEBUG)
   void (Concept::*x)() = BOOST_FPTR Concept::constraints;

make me think so.

If there is no better way to instantiate Concept::constraints (without
creating a local variable, which seems to be the reason to avoid the
check in release mode), the cf-tests must be disabled for all release


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