mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 20:27:03 +00:00
Clean up basic_format_arg
This commit is contained in:
parent
d705d51671
commit
a4d6cb32d1
12
fmt/format.h
12
fmt/format.h
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user