From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A7D2386F028; Mon, 20 Apr 2020 21:46:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A7D2386F028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587419188; bh=yheGgI1i0cqbgW8dzc2ELFC9xGyz1SgpxB4KdOGf/Yk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VzKlblrFTQI+ykv6WDhGVsU2ssjzeEua8LxT+MPPTKP9flmLnkfuaVWM3bdfseAAI raLCOcndBmjPnMr6s+KAeo7YU0Si02j7JUcFRSXmpIwr5QDxM5rR7ffzk8ewYzQR1h dB4C32qkGZ7jOdTtUrbQF+HCGX464ljyHQ+yejxY= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/94674] std::ranges::basic_istream_view::iterator is missing std::iterator_traits entries Date: Mon, 20 Apr 2020 21:46:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 21:46:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94674 --- Comment #5 from Jonathan Wakely --- Your mistake is thinking that the iterators of views are like the iterators you're used to. They're not. They have different properties (e.g. they might not be copyable, they might= not have operator->, they might not define iterator_category) and std::iterator_traits is for use with the old kind of iterators, not the new ones.=