1.1 --- a/src/lemon/concept_check.h Thu Nov 25 14:48:24 2004 +0000
1.2 +++ b/src/lemon/concept_check.h Sun Nov 28 16:30:10 2004 +0000
1.3 @@ -41,7 +41,11 @@
1.4
1.5 template <typename Concept, typename Type>
1.6 inline void checkConcept() {
1.7 - function_requires<typename Concept::template Constraints<Type> >();
1.8 +#if !defined(NDEBUG)
1.9 + typedef typename Concept::template Constraints<Type> ConceptCheck;
1.10 + void (ConceptCheck::*x)() = & ConceptCheck::constraints;
1.11 + ignore_unused_variable_warning(x);
1.12 +#endif
1.13 }
1.14
1.15 #define BOOST_CLASS_REQUIRE(type_var, ns, concept) \