public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Patrick Palka <ppalka@redhat.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>,
	"libstdc++" <libstdc++@gcc.gnu.org>
Subject: Re: [PATCH] libstdc++: Implement LWG 3568 change to ranges::basic_istream_view
Date: Tue, 19 Oct 2021 19:47:49 +0100	[thread overview]
Message-ID: <CAH6eHdRC7w5Cgq6_wtC-Avp82aZ+_n_7hrRJDxdD0kx3u1igDg@mail.gmail.com> (raw)
In-Reply-To: <20211019182939.1694113-1-ppalka@redhat.com>

On Tue, 19 Oct 2021, 19:31 Patrick Palka via Libstdc++, <
libstdc++@gcc.gnu.org> wrote:

> Tested on x86_64-pc-linux-gnu, does this look OK for trunk?
>

Yes, thanks.


(The branches don't have P2325R3.)
>
> libstdc++-v3/ChangeLog:
>
>         * include/std/ranges (basic_istream_view::_M_object): Value
>         initialize as per LWG 3568.
> ---
>  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 5e18c98eb2f..4a90f115d2f 100644
> --- a/libstdc++-v3/include/std/ranges
> +++ b/libstdc++-v3/include/std/ranges
> @@ -711,7 +711,7 @@ namespace views
>
>      private:
>        basic_istream<_CharT, _Traits>* _M_stream;
> -      _Val _M_object;
> +      _Val _M_object = _Val();
>
>        struct _Iterator
>        {
> --
> 2.33.1.711.g9d530dc002
>
>

      reply	other threads:[~2021-10-19 18:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 18:29 Patrick Palka
2021-10-19 18:47 ` Jonathan Wakely [this message]

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=CAH6eHdRC7w5Cgq6_wtC-Avp82aZ+_n_7hrRJDxdD0kx3u1igDg@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    --cc=ppalka@redhat.com \
    /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).