We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e82327 commit 1a37c22Copy full SHA for 1a37c22
source/time.tex
@@ -8037,12 +8037,12 @@
8037
\begin{itemdescr}
8038
\pnum
8039
\effects
8040
-Outputs to \tcode{os} according to the format \tcode{"\%T"}\iref{time.format}.
8041
-If \tcode{hms.is_negative()}, the output is preceded with \tcode{'-'}.
8042
-
8043
-\pnum
8044
-\returns
8045
-\tcode{os}.
+Equivalent to:
+\begin{codeblock}
+if (hms.is_negative())
+ os << @\placeholder{STATICALLY-WIDEN}@<charT>("-");
+return os << format(os.getloc(), @\placeholder{STATICALLY-WIDEN}@<charT>("{:%T}"), hms);
+\end{codeblock}
8046
8047
8048
\begin{example}
0 commit comments