equal
deleted
inserted
replaced
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 { |