aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-03-22 11:10:38 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-03-22 17:48:19 +0000
commitad0b9cf1a076fb9a802d9ba7fa2223aa3166dca2 (patch)
treede8bf89f7660bfb22684e73f485c7b33a6594e3b /gcc/go
parent81d762cbec9685c2f2571da21d48f42c42eff33b (diff)
downloadgcc-ad0b9cf1a076fb9a802d9ba7fa2223aa3166dca2.zip
gcc-ad0b9cf1a076fb9a802d9ba7fa2223aa3166dca2.tar.gz
gcc-ad0b9cf1a076fb9a802d9ba7fa2223aa3166dca2.tar.bz2
libstdc++: Make std::istream_iterator copy ctor constexpr (LWG 3600)
As explained in LWG 3600, we never implemented a C++0x change that made the copy constructor of std::istream_iterator defined as defaulted. That would be an ABI break, so the resolution of LWG 3600 is to not require it to be trivial, but just constexpr and conditionally noexcept. This applies that resolution. libstdc++-v3/ChangeLog: * include/bits/stream_iterator.h (istream_iterator): Add constexpr to copy constructor, as per LWG 3600. * testsuite/24_iterators/istream_iterator/cons/constexpr.cc: Check copy construction.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions