lemon/utility.h
changeset 1633 4bc163d55528
parent 1447 3351c85ffa02
child 1696 4e03a355d2ea
equal deleted inserted replaced
1:b0438cfc2ac1 2:5332aedd97a8
    41 
    41 
    42 
    42 
    43 namespace lemon
    43 namespace lemon
    44 {
    44 {
    45 
    45 
    46   /// Basic type for defining "tags". A "YES" condition for enable_if.
    46   /// Basic type for defining "tags". A "YES" condition for \c enable_if.
    47 
    47 
       
    48   /// Basic type for defining "tags". A "YES" condition for \c enable_if.
       
    49   ///
       
    50   ///\sa False
       
    51   ///
    48   /// \todo This should go to a separate "basic_types.h" (or something)
    52   /// \todo This should go to a separate "basic_types.h" (or something)
    49   /// file.
    53   /// file.
    50   struct True {
    54   struct True {
       
    55     ///\e
    51     static const bool value = true;
    56     static const bool value = true;
    52   };
    57   };
    53 
    58 
    54   /// Basic type for defining "tags". A "NO" condition for enable_if.
    59   /// Basic type for defining "tags". A "NO" condition for \c enable_if.
       
    60 
       
    61   /// Basic type for defining "tags". A "NO" condition for \c enable_if.
       
    62   ///
       
    63   ///\sa True
    55   struct False {
    64   struct False {
       
    65     ///\e
    56     static const bool value = false;
    66     static const bool value = false;
    57   };
    67   };
    58 
    68 
    59   template <typename T>
    69   template <typename T>
    60   struct Wrap {
    70   struct Wrap {