Make some fields public for use in fmtlog
This commit is contained in:
parent
7bdf0628b1
commit
9e0a7ef7b7
@ -1565,6 +1565,7 @@ class format_arg_store
|
|||||||
using value_type = conditional_t<is_packed, detail::value<Context>,
|
using value_type = conditional_t<is_packed, detail::value<Context>,
|
||||||
basic_format_arg<Context>>;
|
basic_format_arg<Context>>;
|
||||||
|
|
||||||
|
public:
|
||||||
detail::arg_data<value_type, typename Context::char_type, num_args,
|
detail::arg_data<value_type, typename Context::char_type, num_args,
|
||||||
num_named_args>
|
num_named_args>
|
||||||
data_;
|
data_;
|
||||||
@ -1578,7 +1579,6 @@ class format_arg_store
|
|||||||
? static_cast<unsigned long long>(detail::has_named_args_bit)
|
? static_cast<unsigned long long>(detail::has_named_args_bit)
|
||||||
: 0);
|
: 0);
|
||||||
|
|
||||||
public:
|
|
||||||
format_arg_store(const Args&... args)
|
format_arg_store(const Args&... args)
|
||||||
:
|
:
|
||||||
#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
|
#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
|
||||||
@ -1857,13 +1857,13 @@ template <typename Context> class basic_format_args {
|
|||||||
return static_cast<detail::type>((desc_ >> shift) & mask);
|
return static_cast<detail::type>((desc_ >> shift) & mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public:
|
||||||
basic_format_args(unsigned long long desc,
|
basic_format_args(unsigned long long desc,
|
||||||
const detail::value<Context>* values)
|
const detail::value<Context>* values)
|
||||||
: desc_(desc), values_(values) {}
|
: desc_(desc), values_(values) {}
|
||||||
basic_format_args(unsigned long long desc, const format_arg* args)
|
basic_format_args(unsigned long long desc, const format_arg* args)
|
||||||
: desc_(desc), args_(args) {}
|
: desc_(desc), args_(args) {}
|
||||||
|
|
||||||
public:
|
|
||||||
basic_format_args() : desc_(0) {}
|
basic_format_args() : desc_(0) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user