equal
deleted
inserted
replaced
62 /// |
62 /// |
63 ///\sa True |
63 ///\sa True |
64 struct False { |
64 struct False { |
65 ///\e |
65 ///\e |
66 static const bool value = false; |
66 static const bool value = false; |
|
67 }; |
|
68 |
|
69 template <bool left, bool right> |
|
70 struct _CompileTimeAnd { |
|
71 static const bool value = false; |
|
72 }; |
|
73 |
|
74 template <> |
|
75 struct _CompileTimeAnd<true, true> { |
|
76 static const bool value = true; |
|
77 }; |
|
78 |
|
79 template <typename Left, typename Right> |
|
80 struct CompileTimeAnd { |
|
81 static const bool value = |
|
82 _CompileTimeAnd<Left::value, Right::value>::value; |
67 }; |
83 }; |
68 |
84 |
69 template <typename T> |
85 template <typename T> |
70 struct Wrap { |
86 struct Wrap { |
71 const T &value; |
87 const T &value; |