Skip to content

Commit 8f297c2

Browse files
committed
Merge 2021-10 LWG Motion 10
P1147R1 Printing volatile Pointers
2 parents af2460a + d4f52d9 commit 8f297c2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/iostreams.tex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5854,6 +5854,7 @@
58545854
basic_ostream& operator<<(long double f);
58555855

58565856
basic_ostream& operator<<(const void* p);
5857+
basic_ostream& operator<<(const volatile void* p);
58575858
basic_ostream& operator<<(nullptr_t);
58585859
basic_ostream& operator<<(basic_streambuf<char_type, traits>* sb);
58595860

@@ -6419,6 +6420,17 @@
64196420
\tcode{*this}.
64206421
\end{itemdescr}
64216422

6423+
\indexlibrarymember{operator<<}{basic_ostream}%
6424+
\begin{itemdecl}
6425+
basic_ostream& operator<<(const volatile void* p);
6426+
\end{itemdecl}
6427+
6428+
\begin{itemdescr}
6429+
\pnum
6430+
\effects
6431+
Equivalent to: \tcode{return operator<<(const_cast<const void*>(p));}
6432+
\end{itemdescr}
6433+
64226434
\rSec4[ostream.inserters]{\tcode{basic_ostream::operator<<}}
64236435

64246436
\indexlibrarymember{operator<<}{basic_ostream}%

0 commit comments

Comments
 (0)