From a4d6cb32d1cec6928db70ddeb7b02edb03aabc5e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 29 Dec 2016 17:17:18 -0800 Subject: [PATCH] Clean up basic_format_arg --- fmt/format.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index 3f9de274..f102c219 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1347,21 +1347,17 @@ class basic_format_args; template class basic_format_arg { private: - typedef typename Context::char_type Char; - - internal::Value value_; + internal::Value value_; internal::Type type_; template friend basic_format_arg internal::make_arg(const T &value); - template + template friend typename std::result_of::type - visit(Visitor &&vis, basic_format_arg arg); - - template - friend class basic_format_args; + visit(Visitor &&vis, basic_format_arg arg); + friend class basic_format_args; friend class internal::ArgMap; public: