From: Jonathan Wakely Date: Tue, 11 Jan 2022 14:22:47 +0000 (+0000) Subject: libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) X-Git-Tag: basepoints/gcc-13~1829 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46de918f9892e637845bd97b4ca95011d46d3733;p=thirdparty%2Fgcc.git libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) This was approved at the October 2021 plenary. We already have noexcept in the other places the issue adds it in the spec. libstdc++-v3/ChangeLog: * include/std/ranges (ranges::lazy_split_view::_InnerIter::end()): Add neoxcept (LWG 3593). --- diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges index 780a3633417e..ac85907f1295 100644 --- a/libstdc++-v3/include/std/ranges +++ b/libstdc++-v3/include/std/ranges @@ -3066,7 +3066,7 @@ namespace views::__adaptor { return _InnerIter<_Const>{_M_i}; } constexpr default_sentinel_t - end() const + end() const noexcept { return default_sentinel; } };