public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4520] libstdc++: Implement LWG 3568 change to ranges::basic_istream_view
@ 2021-10-19 22:10 Patrick Palka
  0 siblings, 0 replies; only message in thread
From: Patrick Palka @ 2021-10-19 22:10 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:bed1892f5b1a6601caa93d54c156a4d04d76ee7b

commit r12-4520-gbed1892f5b1a6601caa93d54c156a4d04d76ee7b
Author: Patrick Palka <ppalka@redhat.com>
Date:   Tue Oct 19 18:07:16 2021 -0400

    libstdc++: Implement LWG 3568 change to ranges::basic_istream_view
    
    libstdc++-v3/ChangeLog:
    
            * include/std/ranges (basic_istream_view::_M_object): Value
            initialize as per LWG 3568.

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 dc1fb7117c1..c3a6dbab6fd 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -726,7 +726,7 @@ namespace views
 
     private:
       basic_istream<_CharT, _Traits>* _M_stream;
-      _Val _M_object;
+      _Val _M_object = _Val();
 
       struct _Iterator
       {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-19 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 22:10 [gcc r12-4520] libstdc++: Implement LWG 3568 change to ranges::basic_istream_view Patrick Palka

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).