diff --git a/src/catch2/catch_tostring.hpp b/src/catch2/catch_tostring.hpp index 8ea00aeb..e82552bf 100644 --- a/src/catch2/catch_tostring.hpp +++ b/src/catch2/catch_tostring.hpp @@ -481,18 +481,18 @@ namespace Catch { using type = void; }; + template + using void_type_t = typename void_type::type; + template - struct is_range_impl : std::false_type { - }; + struct is_range_impl : std::false_type {}; template - struct is_range_impl()))>::type> : std::true_type { - }; + struct is_range_impl()))>> : std::true_type {}; } // namespace Detail template - struct is_range : Detail::is_range_impl { - }; + struct is_range : Detail::is_range_impl {}; #if defined(_MANAGED) // Managed types are never ranges template