mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Always use 'Detail' for the detail namespace
This commit is contained in:
parent
3d1cf95b32
commit
340a61af50
@ -475,7 +475,7 @@ namespace Catch {
|
|||||||
using std::begin;
|
using std::begin;
|
||||||
using std::end;
|
using std::end;
|
||||||
|
|
||||||
namespace detail {
|
namespace Detail {
|
||||||
template <typename...>
|
template <typename...>
|
||||||
struct void_type {
|
struct void_type {
|
||||||
using type = void;
|
using type = void;
|
||||||
@ -488,10 +488,10 @@ namespace Catch {
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
struct is_range_impl<T, typename void_type<decltype(begin(std::declval<T>()))>::type> : std::true_type {
|
struct is_range_impl<T, typename void_type<decltype(begin(std::declval<T>()))>::type> : std::true_type {
|
||||||
};
|
};
|
||||||
} // namespace detail
|
} // namespace Detail
|
||||||
|
|
||||||
template <typename T>
|
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
|
#if defined(_MANAGED) // Managed types are never ranges
|
||||||
|
Loading…
Reference in New Issue
Block a user