mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
prevent ""fmt/range.h"" from specializing fmt::basic_string_view (#865)
This commit is contained in:
@ -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 {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user