mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-10 06:40:21 +00:00
prevent ""fmt/range.h"" from specializing fmt::basic_string_view (#865)
This commit is contained in:
parent
e4fc856c2f
commit
70a6a4bb01
@ -87,6 +87,9 @@ class is_like_std_string {
|
|||||||
!std::is_void<decltype(check<T>(FMT_NULL))>::value;
|
!std::is_void<decltype(check<T>(FMT_NULL))>::value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename Char>
|
||||||
|
struct is_like_std_string<fmt::basic_string_view<Char>> : std::true_type {};
|
||||||
|
|
||||||
template <typename... Ts>
|
template <typename... Ts>
|
||||||
struct conditional_helper {};
|
struct conditional_helper {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user