On Tue, 15 Jun 2021 at 19:32, Jonathan Wakely wrote: > > Signed-off-by: Jonathan Wakely <jwak...@redhat.com> > > libstdc++-v3/ChangeLog: > > * include/bits/ranges_util.h (view_interface): Add noexcept to > empty, operator bool, data and size members. > (subrange): Add noexcept to constructors. > * include/std/ranges (single_view, ref_view): Add noexcept to > constructors. > (views::single, views::all): Add noexcept. > * testsuite/std/ranges/adaptors/all.cc: Check noexcept. > * testsuite/std/ranges/single_view.cc: Likewise. > > Tested powerpc64le-linux. Committed to trunk.
This one also breaks modules, but seems to be a bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101095 If the compiler bug isn't fixed quickly I'll probably have to remove the new noexcept-specifiers from the subrange constructors.