Skip to content

Commit 22789a0

Browse files
jensmaurertkoeppe
authored andcommitted
[format.arg] Fix return type of visit_format_arg
It was specified as 'see below', pointing nowhere. Use 'decltype(auto)', congruent with the Effects item.
1 parent 81a911d commit 22789a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19186,7 +19186,7 @@
1918619186
template<class Context> class basic_format_arg;
1918719187

1918819188
template<class Visitor, class Context>
19189-
@\seebelow@ visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
19189+
decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
1919019190

1919119191
// \ref{format.arg.store}, class template \exposid{format-arg-store}
1919219192
template<class Context, class... Args> struct @\placeholder{format-arg-store}@; // \expos
@@ -20950,7 +20950,7 @@
2095020950
\indexlibraryglobal{visit_format_arg}%
2095120951
\begin{itemdecl}
2095220952
template<class Visitor, class Context>
20953-
@\seebelow@ visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
20953+
decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
2095420954
\end{itemdecl}
2095520955

2095620956
\begin{itemdescr}

0 commit comments

Comments
 (0)