COIN-OR::LEMON - Graph Library

Changeset 1989:d276e88aa48a in lemon-0.x for lemon/utility.h


Ignore:
Timestamp:
03/01/06 11:04:47 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2591
Message:

Traits for alteration notifiers
SplitGraph? is temporarly deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/utility.h

    r1956 r1989  
    6969  };
    7070
    71   template <bool left, bool right>
    72   struct _CompileTimeAnd {
    73     static const bool value = false;
     71
     72  class InvalidType {
     73  private:
     74    InvalidType();
    7475  };
    7576 
    76   template <>
    77   struct _CompileTimeAnd<true, true> {
    78     static const bool value = true;
    79   };
    80 
    81   template <typename Left, typename Right>
    82   struct CompileTimeAnd {
    83     static const bool value =
    84     _CompileTimeAnd<Left::value, Right::value>::value;
    85   };
    8677
    8778  template <typename T>
Note: See TracChangeset for help on using the changeset viewer.