Clean up basic_format_arg

This commit is contained in:
Victor Zverovich 2016-12-29 17:17:18 -08:00
parent d705d51671
commit a4d6cb32d1

View File

@ -1347,21 +1347,17 @@ class basic_format_args;
template <typename Context>
class basic_format_arg {
private:
typedef typename Context::char_type Char;
internal::Value<Char> value_;
internal::Value<typename Context::char_type> value_;
internal::Type type_;
template <typename ContextType, typename T>
friend basic_format_arg<ContextType> internal::make_arg(const T &value);
template <typename Visitor, typename ContextType>
template <typename Visitor, typename Ctx>
friend typename std::result_of<Visitor(int)>::type
visit(Visitor &&vis, basic_format_arg<ContextType> arg);
template <typename ContextType, typename CharType>
friend class basic_format_args;
visit(Visitor &&vis, basic_format_arg<Ctx> arg);
friend class basic_format_args<Context, typename Context::char_type>;
friend class internal::ArgMap<Context>;
public: