COIN-OR::LEMON - Graph Library

Changeset 1022:567f392d1d2e in lemon-0.x for src/lemon/concept_check.h


Ignore:
Timestamp:
11/28/04 17:30:10 (15 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1412
Message:

UndirGraph? implementation nearly complete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/concept_check.h

    r989 r1022  
    4242  template <typename Concept, typename Type>
    4343  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
    4549  }
    4650
Note: See TracChangeset for help on using the changeset viewer.