Use arg visitor when formatting printf argument

and get rid of ignore_incompatible_str.
This commit is contained in:
vitaut
2015-06-16 07:36:32 -07:00
parent 9b6b3382e3
commit 270069beda
2 changed files with 137 additions and 167 deletions
+8 -3
View File
@@ -1120,8 +1120,11 @@ class RuntimeError : public std::runtime_error {
RuntimeError() : std::runtime_error("") {}
};
template <typename Impl, typename Char>
class BasicArgFormatter;
template <typename Char>
class ArgFormatter;
class PrintfArgFormatter;
template <typename Char>
class ArgMap;
@@ -1857,8 +1860,10 @@ class BasicWriter {
template<typename T>
void append_float_length(Char *&, T) {}
friend class internal::ArgFormatter<Char>;
friend class internal::PrintfFormatter<Char>;
template <typename Impl, typename Char_>
friend class internal::BasicArgFormatter;
friend class internal::PrintfArgFormatter<Char>;
protected:
/**