Commit 70a6a4bb authored by hhggit's avatar hhggit Committed by Victor Zverovich

prevent ""fmt/range.h"" from specializing fmt::basic_string_view (#865)

parent e4fc856c
...@@ -87,6 +87,9 @@ class is_like_std_string { ...@@ -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 {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment