Use own bool_constant, which is available for all C++ versions

This commit is contained in:
Daniel Krügler 2022-07-06 20:02:10 +02:00
parent a1ec9fc771
commit e4c2e72a18

View File

@ -392,7 +392,7 @@ using maybe_const_range =
conditional_t<has_const_begin_end<R>::value, const R, R>;
template <typename R>
struct is_not_recursive_range : std::bool_constant<
struct is_not_recursive_range : bool_constant<
!std::is_same<detail::uncvref_type<R>, R>::value> {};
template <typename R, typename Char>