From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57681 invoked by alias); 24 Jul 2015 16:28:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 57596 invoked by uid 48); 24 Jul 2015 16:28:02 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/66998] not_fn invocation is not SFINAE friendly Date: Fri, 24 Jul 2015 16:28:00 -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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg02144.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66998 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-07-24 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- I'm not convinced that the wording *really* requires them to be equivalent in all contexts, i.e. even when !INVOKE(fd, ...) is not a valid expression ... but since you wrote the proposal I guess we can assume that's what you intended :-) It's certainly a nice QoI improvement. I was basically lazy when I implemented it and used decltype(auto) because it's convenient.