File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1010
1111#include < catch2/catch_tostring.hpp>
1212#include < catch2/internal/catch_stringref.hpp>
13- #include < catch2/internal/catch_meta.hpp>
1413#include < catch2/internal/catch_compare_traits.hpp>
1514#include < catch2/internal/catch_test_failure_exception.hpp>
1615#include < catch2/internal/catch_logical_traits.hpp>
3736
3837namespace Catch {
3938
39+ template <typename T>
40+ struct always_false : std::false_type {};
41+
4042 class ITransientExpression {
4143 bool m_isBinaryExpression;
4244 bool m_result;
Original file line number Diff line number Diff line change 1111#include < type_traits>
1212
1313namespace Catch {
14- template <typename T >
15- struct always_false : std::false_type {};
14+ template <typename >
15+ struct true_given : std::true_type {};
1616
17- template <typename > struct true_given : std::true_type {};
1817 struct is_callable_tester {
1918 template <typename Fun, typename ... Args>
2019 static true_given<decltype (std::declval<Fun>()(std::declval<Args>()...))> test (int );
You can’t perform that action at this time.
0 commit comments