Commit a4d6cb32 authored by Victor Zverovich's avatar Victor Zverovich

Clean up basic_format_arg

parent d705d516
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment