Add formatter<std::string_view>

This commit is contained in:
Victor Zverovich
2019-06-22 19:48:37 -07:00
parent 635e01fe74
commit 72e519a4bd
2 changed files with 14 additions and 2 deletions

View File

@@ -3005,6 +3005,7 @@ FMT_FORMAT_AS(float, double);
FMT_FORMAT_AS(Char*, const Char*);
FMT_FORMAT_AS(std::basic_string<Char>, basic_string_view<Char>);
FMT_FORMAT_AS(std::nullptr_t, const void*);
FMT_FORMAT_AS(internal::std_string_view<Char>, basic_string_view<Char>);
template <typename Char>
struct formatter<void*, Char> : formatter<const void*, Char> {