src/lemon/utility.h
changeset 1260 d8491fce6751
parent 1164 80bb73097736
child 1270 806451fd084b
equal deleted inserted replaced
1:f803a0b478a8 2:a7d7f9e0e502
    54   struct Wrap {
    54   struct Wrap {
    55     const T &value;
    55     const T &value;
    56     Wrap(const T &t) : value(t) {}
    56     Wrap(const T &t) : value(t) {}
    57   };
    57   };
    58 
    58 
       
    59   /**************** dummy class to avoid ambiguity ****************/
    59 
    60 
       
    61   template<int T> struct dummy { dummy(int) {} };
    60 
    62 
    61   /**************** enable_if from BOOST ****************/
    63   /**************** enable_if from BOOST ****************/
    62  
    64  
    63   template <bool B, class T = void>
    65   template <bool B, class T = void>
    64   struct enable_if_c {
    66   struct enable_if_c {