From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A18CB386EC23; Fri, 14 Aug 2020 00:19:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A18CB386EC23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597364378; bh=cYE/ej/cvEU85P6HnxmrbB43zgXhr3ycpAZByoh3G5A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RqeSJHV3hh+JDTC6ipk0jdyTEmsPl5aRAwGFsU9QH5tOhn2guAh6aDxj6tfOzVKB0 UHTQQLICeQTZJBKAUa/q6C1B84uwG3uHKhcubL/WUjRvJ9OyFMMEjngnORaFVesMLI eAheta4v3f5+UvMDuk6ZXlHFJA/w+0u3szBTNaHo= From: "johnilacqua at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/96592] Tuple element w/ member reference to incomplete template type rejected Date: Fri, 14 Aug 2020 00:19:38 +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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johnilacqua at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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: cc 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: Fri, 14 Aug 2020 00:19:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96592 John changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |johnilacqua at hotmail dot= com --- Comment #1 from John --- I was about to create a bug report for what appears to be the same issue. Here's another simple reproducer: #include template class DependsOnT { public: DependsOnT(T&) {} }; class Test { public: Test() : test_{*this} {} private: std::tuple> test_; }; It seems to depend entirely on the reference in the constructor of DependsO= nT - if I change that to a pointer it compiles without error.=