public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r11-9914] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593)
Date: Thu, 21 Apr 2022 12:33:39 +0000 (GMT)	[thread overview]
Message-ID: <20220421123339.9CB573888C72@sourceware.org> (raw)

https://gcc.gnu.org/g:389ae9d285c461e7b1c1ab7fd5a5e87d297f9395

commit r11-9914-g389ae9d285c461e7b1c1ab7fd5a5e87d297f9395
Author: Jonathan Wakely <jwakely@redhat.com>
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).
    
    (cherry picked from commit 46de918f9892e637845bd97b4ca95011d46d3733)

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 f55ee15e1b1..bbdfb7dbe5c 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -2916,7 +2916,7 @@ namespace views::__adaptor
 	    { return _InnerIter<_Const>{_M_i}; }
 
 	    constexpr default_sentinel_t
-	    end() const
+	    end() const noexcept
 	    { return default_sentinel; }
 	  };


                 reply	other threads:[~2022-04-21 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220421123339.9CB573888C72@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).