Remove <memory> dependency

This commit is contained in:
Victor Zverovich
2024-01-12 08:36:01 -08:00
parent 3c9608416a
commit 297b22f585
4 changed files with 30 additions and 29 deletions

View File

@@ -360,9 +360,7 @@ struct formatter<Tuple, Char,
template <typename T, typename Char> struct is_range {
static constexpr const bool value =
detail::is_range_<T>::value && !detail::has_to_string_view<T>::value &&
!std::is_convertible<T, std::basic_string<Char>>::value &&
!std::is_convertible<T, detail::std_string_view<Char>>::value;
detail::is_range_<T>::value && !detail::has_to_string_view<T>::value;
};
namespace detail {