Update changelog and deprecate visit

This commit is contained in:
Victor Zverovich
2018-12-24 10:02:41 -08:00
parent 130e412b64
commit 84e5170c9c
2 changed files with 40 additions and 14 deletions
+2 -1
View File
@@ -443,7 +443,7 @@ typedef basic_string_view<wchar_t> wstring_view;
namespace my_ns {
inline string_view to_string_view(const my_string &s) {
return { s.data(), s.length() };
return {s.data(), s.length()};
}
}
@@ -865,6 +865,7 @@ FMT_CONSTEXPR typename internal::result_of<Visitor(int)>::type
return vis(monostate());
}
// DEPRECATED!
template <typename Visitor, typename Context>
FMT_CONSTEXPR typename internal::result_of<Visitor(int)>::type
visit(Visitor &&vis, const basic_format_arg<Context> &arg) {