From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA6303840C12; Sat, 16 May 2020 09:02:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA6303840C12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589619749; bh=RbtkICy0BZLsvdz+xL3WX4AtrOVA6Y4AJQ9EKbEl9M4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eHy++0GLMHH1N5DwF+nBWdjGY4OaVkHoDEuZgOHr2//lwtqCkYj/4+BDgjOqzzMcV YnN/HpvzCB/DjBNRdoWYHBN1dl9XecTUZYSnOrP7DzxonNe8eaGtYV6H3cmhzsyKU1 PxiZGlvh6kVgxf/TeRGLFg2L4F8gzuS7aocrfU/M= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95100] xxx_view adaptors don't work with pipeline operator Date: Sat, 16 May 2020 09:02:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ 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: resolution bug_status 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: Sat, 16 May 2020 09:02:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95100 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #3 from Jonathan Wakely --- No, it's not a rewriting rule. It says that the library implementation need= s to give range adaptor objects an overloaded operator| that allows them to be u= sed that way. There's no magical rewriting going on, just operator overloading. You can't overload an operator to take a class template as an argument. Class templates are not objects and objects are not class templates. Not a bug and not a defect.=