Changeset 1022:567f392d1d2e in lemon-0.x for src/lemon/concept_check.h
- Timestamp:
- 11/28/04 17:30:10 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1412
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept_check.h
r989 r1022 42 42 template <typename Concept, typename Type> 43 43 inline void checkConcept() { 44 function_requires<typename Concept::template Constraints<Type> >(); 44 #if !defined(NDEBUG) 45 typedef typename Concept::template Constraints<Type> ConceptCheck; 46 void (ConceptCheck::*x)() = & ConceptCheck::constraints; 47 ignore_unused_variable_warning(x); 48 #endif 45 49 } 46 50
Note: See TracChangeset
for help on using the changeset viewer.