aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-03-21 23:09:14 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-04-17 17:33:10 +0100
commit7c2a9dbcc2c1cb1563774068c59d5e09edc59f06 (patch)
tree94a222b3a64132f9065a47bf50407a4e0c40e0b2 /libcpp
parent57056146f4ffc5ea347c03e37e1e2c7cd99261d0 (diff)
downloadgcc-7c2a9dbcc2c1cb1563774068c59d5e09edc59f06.zip
gcc-7c2a9dbcc2c1cb1563774068c59d5e09edc59f06.tar.gz
gcc-7c2a9dbcc2c1cb1563774068c59d5e09edc59f06.tar.bz2
libstdc++: Implement "Printing blank lines with println" for C++23
This was recently approved for C++26 at the Tokyo meeting. As suggested by Stephan T. Lavavej, I'm defining it as an extension for C++23 mode (when std::print and std::prinln were first added) rather than as a new C++26 feature. Both MSVC and libc++ have agreed to do this too. libstdc++-v3/ChangeLog: * include/std/ostream (println(ostream&)): Define new overload. * include/std/print (println(FILE*), println()): Likewise. * testsuite/27_io/basic_ostream/print/2.cc: New test. * testsuite/27_io/print/1.cc: Remove unused header. * testsuite/27_io/print/3.cc: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions