Concept_check.hpp question
19 Sep
2004
19 Sep
'04
9:10 a.m.
Is there a good reason for the following #ifdef in "concept_check.hpp": template <class Concept> inline void function_requires(mpl::identity<Concept>* = 0) { #if !defined(NDEBUG) void (Concept::*x)() = BOOST_FPTR Concept::constraints; ignore_unused_variable_warning(x); #endif } ? It causes "concept_check_fail_expected" test to fail if compiled in "release mode"; see http://tinyurl.com/6u286. Any objections to removing it? -- Aleksey Gurtovoy MetaCommunications Engineering
7947
Age (days ago)
7947
Last active (days ago)
6 comments
5 participants
participants (5)
-
Aleksey Gurtovoy