Always use 'Detail' for the detail namespace

This commit is contained in:
Martin Hořeňovský 2021-07-27 21:45:20 +02:00
parent 3d1cf95b32
commit 340a61af50
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -475,7 +475,7 @@ namespace Catch {
using std::begin;
using std::end;
namespace detail {
namespace Detail {
template <typename...>
struct void_type {
using type = void;
@ -488,10 +488,10 @@ namespace Catch {
template <typename T>
struct is_range_impl<T, typename void_type<decltype(begin(std::declval<T>()))>::type> : std::true_type {
};
} // namespace detail
} // namespace Detail
template <typename T>
struct is_range : detail::is_range_impl<T> {
struct is_range : Detail::is_range_impl<T> {
};
#if defined(_MANAGED) // Managed types are never ranges