1.1 --- a/lemon/utility.h Wed Mar 01 09:40:16 2006 +0000
1.2 +++ b/lemon/utility.h Wed Mar 01 10:04:47 2006 +0000
1.3 @@ -68,21 +68,12 @@
1.4 static const bool value = false;
1.5 };
1.6
1.7 - template <bool left, bool right>
1.8 - struct _CompileTimeAnd {
1.9 - static const bool value = false;
1.10 +
1.11 + class InvalidType {
1.12 + private:
1.13 + InvalidType();
1.14 };
1.15
1.16 - template <>
1.17 - struct _CompileTimeAnd<true, true> {
1.18 - static const bool value = true;
1.19 - };
1.20 -
1.21 - template <typename Left, typename Right>
1.22 - struct CompileTimeAnd {
1.23 - static const bool value =
1.24 - _CompileTimeAnd<Left::value, Right::value>::value;
1.25 - };
1.26
1.27 template <typename T>
1.28 struct Wrap {