mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-01 22:20:06 +00:00
Inline visit
This commit is contained in:
parent
f11e968708
commit
8f7a824e47
@ -1155,9 +1155,8 @@ template <typename Context> class basic_format_arg {
|
||||
\endrst
|
||||
*/
|
||||
template <typename Visitor, typename Context>
|
||||
FMT_CONSTEXPR auto visit_format_arg(Visitor&& vis,
|
||||
const basic_format_arg<Context>& arg)
|
||||
-> decltype(vis(0)) {
|
||||
FMT_CONSTEXPR_DECL FMT_INLINE auto visit_format_arg(
|
||||
Visitor&& vis, const basic_format_arg<Context>& arg) -> decltype(vis(0)) {
|
||||
using char_type = typename Context::char_type;
|
||||
switch (arg.type_) {
|
||||
case detail::type::none_type:
|
||||
|
Loading…
Reference in New Issue
Block a user