From 7ff54ebc06bb3decb5d5cea0a8ca5361625e9200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Thu, 19 Aug 2021 21:29:41 +0200 Subject: [PATCH] Add _t suffix typedef for internal traits --- src/catch2/catch_tostring.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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