Skip to content

Commit 317f034

Browse files
burblebeetkoeppe
authored andcommitted
P3142R0 Printing Blank Lines with println
1 parent 5ff4c34 commit 317f034

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

source/iostreams.tex

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4205,6 +4205,7 @@
42054205
void print(ostream& os, format_string<Args...> fmt, Args&&... args);
42064206
template<class... Args>
42074207
void println(ostream& os, format_string<Args...> fmt, Args&&... args);
4208+
void println(ostream& os);
42084209

42094210
void vprint_unicode(ostream& os, string_view fmt, format_args args);
42104211
void vprint_nonunicode(ostream& os, string_view fmt, format_args args);
@@ -4257,8 +4258,10 @@
42574258
// \ref{print.fun}, print functions
42584259
template<class... Args>
42594260
void print(format_string<Args...> fmt, Args&&... args);
4261+
void println();
42604262
template<class... Args>
42614263
void print(FILE* stream, format_string<Args...> fmt, Args&&... args);
4264+
void println(FILE* stream);
42624265

42634266
template<class... Args>
42644267
void println(format_string<Args...> fmt, Args&&... args);
@@ -6822,6 +6825,20 @@
68226825
\end{codeblock}
68236826
\end{itemdescr}
68246827

6828+
\indexlibraryglobal{println}%
6829+
\begin{itemdecl}
6830+
void println(ostream& os);
6831+
\end{itemdecl}
6832+
6833+
\begin{itemdescr}
6834+
\pnum
6835+
\effects
6836+
Equivalent to:
6837+
\begin{codeblock}
6838+
print(os, "\n");
6839+
\end{codeblock}
6840+
\end{itemdescr}
6841+
68256842
\indexlibraryglobal{vprint_unicode}%
68266843
\indexlibraryglobal{vprint_nonunicode}%
68276844
\begin{itemdecl}
@@ -7737,6 +7754,20 @@
77377754
\end{codeblock}
77387755
\end{itemdescr}
77397756

7757+
\indexlibraryglobal{println}%
7758+
\begin{itemdecl}
7759+
void println();
7760+
\end{itemdecl}
7761+
7762+
\begin{itemdescr}
7763+
\pnum
7764+
\effects
7765+
Equivalent to:
7766+
\begin{codeblock}
7767+
println(stdout);
7768+
\end{codeblock}
7769+
\end{itemdescr}
7770+
77407771
\indexlibraryglobal{println}%
77417772
\begin{itemdecl}
77427773
template<class... Args>
@@ -7752,6 +7783,20 @@
77527783
\end{codeblock}
77537784
\end{itemdescr}
77547785

7786+
\indexlibraryglobal{println}%
7787+
\begin{itemdecl}
7788+
void println(FILE* stream);
7789+
\end{itemdecl}
7790+
7791+
\begin{itemdescr}
7792+
\pnum
7793+
\effects
7794+
Equivalent to:
7795+
\begin{codeblock}
7796+
print(stream, "\n");
7797+
\end{codeblock}
7798+
\end{itemdescr}
7799+
77557800
\indexlibraryglobal{vprint_unicode}%
77567801
\begin{itemdecl}
77577802
void vprint_unicode(string_view fmt, format_args args);

0 commit comments

Comments
 (0)