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

This commit is contained in:
hhggit 2018-09-18 10:30:06 +08:00 committed by Victor Zverovich
parent e4fc856c2f
commit 70a6a4bb01

View File

@ -87,6 +87,9 @@ class is_like_std_string {
!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>
struct conditional_helper {};