diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-04 15:22:00 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-05 09:35:47 +0100 |
commit | 96955a82f0e1624a20ea2c9953d76a20ea433c24 (patch) | |
tree | 2dafacc6ed0021b7143504aaba470c840e73e94b /gcc | |
parent | 9e136807c5b5476ed02a2a40a14fe0df3c0f4f18 (diff) | |
download | gcc-96955a82f0e1624a20ea2c9953d76a20ea433c24.zip gcc-96955a82f0e1624a20ea2c9953d76a20ea433c24.tar.gz gcc-96955a82f0e1624a20ea2c9953d76a20ea433c24.tar.bz2 |
libstdc++: Support printing volatile pointers (P1147R1)
To avoid needing to export a new symbol from the library (for now) the
new member function uses __attribute__((always_inline)).
libstdc++-v3/ChangeLog:
* include/std/ostream (operator<<(const volatile void*)):
Add new overload, as per P1147R1.
* testsuite/27_io/basic_ostream/inserters_other/char/volatile_ptr.cc:
New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions