Removed conditional compilation as there's already the

`internal::std_string_veiew` alias
This commit is contained in:
vsol 2020-03-14 19:16:32 +03:00
parent def562c56a
commit 49a46f8d50

View File

@ -1637,16 +1637,8 @@ template <typename T, typename Char> struct is_string_view : std::false_type {};
template <typename Char>
struct is_string_view<basic_string_view<Char>, Char> : std::true_type {};
#ifdef FMT_USE_STRING_VIEW
template <typename Char>
struct is_string_view<std::basic_string_view<Char>, Char> : std::true_type {};
#endif
#ifdef FMT_USE_EXPERIMENTAL_STRING_VIEW
template <typename Char>
struct is_string_view<std::experimental::basic_string_view<Char>, Char>
: std::true_type {};
#endif
struct is_string_view<std_string_view<Char>, Char> : std::true_type {};
template <typename T> struct is_ref_wrapper : std::false_type {};