From c010687ec1b6d92e81336ea612da5c8908060932 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sat, 9 Oct 2021 09:24:21 +0200 Subject: [PATCH] P1147R1 Printing volatile Pointers Moved to [ostream.inserters.arithmetic] and renamed the parameter from 'val' to 'p' for consistency with the 'const void*' overload. --- source/iostreams.tex | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/iostreams.tex b/source/iostreams.tex index cd7215a638..a75d00ebe1 100644 --- a/source/iostreams.tex +++ b/source/iostreams.tex @@ -5854,6 +5854,7 @@ basic_ostream& operator<<(long double f); basic_ostream& operator<<(const void* p); + basic_ostream& operator<<(const volatile void* p); basic_ostream& operator<<(nullptr_t); basic_ostream& operator<<(basic_streambuf* sb); @@ -6419,6 +6420,17 @@ \tcode{*this}. \end{itemdescr} +\indexlibrarymember{operator<<}{basic_ostream}% +\begin{itemdecl} +basic_ostream& operator<<(const volatile void* p); +\end{itemdecl} + +\begin{itemdescr} +\pnum +\effects +Equivalent to: \tcode{return operator<<(const_cast(p));} +\end{itemdescr} + \rSec4[ostream.inserters]{\tcode{basic_ostream::operator<<}} \indexlibrarymember{operator<<}{basic_ostream}%