Removed conditional compilation as there's already the
`internal::std_string_veiew` alias
This commit is contained in:
parent
def562c56a
commit
49a46f8d50
@ -1637,16 +1637,8 @@ template <typename T, typename Char> struct is_string_view : std::false_type {};
|
|||||||
template <typename Char>
|
template <typename Char>
|
||||||
struct is_string_view<basic_string_view<Char>, Char> : std::true_type {};
|
struct is_string_view<basic_string_view<Char>, Char> : std::true_type {};
|
||||||
|
|
||||||
#ifdef FMT_USE_STRING_VIEW
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
struct is_string_view<std::basic_string_view<Char>, Char> : std::true_type {};
|
struct is_string_view<std_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
|
|
||||||
|
|
||||||
template <typename T> struct is_ref_wrapper : std::false_type {};
|
template <typename T> struct is_ref_wrapper : std::false_type {};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user