From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 67BE838A940C; Tue, 11 Jan 2022 15:17:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67BE838A940C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-6484] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: d2dc5305d87f4e6a1b861f59164c124636e2b69d X-Git-Newrev: 46de918f9892e637845bd97b4ca95011d46d3733 Message-Id: <20220111151742.67BE838A940C@sourceware.org> Date: Tue, 11 Jan 2022 15:17:42 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2022 15:17:42 -0000 https://gcc.gnu.org/g:46de918f9892e637845bd97b4ca95011d46d3733 commit r12-6484-g46de918f9892e637845bd97b4ca95011d46d3733 Author: Jonathan Wakely Date: Tue Jan 11 14:22:47 2022 +0000 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: --- libstdc++-v3/include/std/ranges | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges index 780a3633417..ac85907f129 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; } };