public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58569] Compilation error when a class contains multiple std::function Date: Tue, 01 Oct 2013 07:46:00 -0000 [thread overview] Message-ID: <bug-58569-4-9rzRBjjSJ3@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58569-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58569 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Daniel Krügler from comment #3) > I don't see a good > reasons why std::function<foo(...)> should check std::is_convertible<foo, > foo> when instantiating the class template. It's done to check the constraint imposed by the resolution of http://cplusplus.github.io/LWG/lwg-active.html#2132 >From gcc-bugs-return-430870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Oct 01 07:47:21 2013 Return-Path: <gcc-bugs-return-430870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24612 invoked by alias); 1 Oct 2013 07:47:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24576 invoked by uid 48); 1 Oct 2013 07:47:18 -0000 From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58569] Compilation error when a class contains multiple std::function Date: Tue, 01 Oct 2013 07:47:00 -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: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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: <bug-58569-4-50Iz7ZKkKZ@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-58569-4@http.gcc.gnu.org/bugzilla/> References: <bug-58569-4@http.gcc.gnu.org/bugzilla/> 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: 2013-10/txt/msg00014.txt.bz2 Content-length: 286 http://gcc.gnu.org/bugzilla/show_bug.cgi?idX569 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- And it should only happen when instantiating the converting constructor template or converting assignment operator function, not when instantiating the class template.
next prev parent reply other threads:[~2013-10-01 7:46 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-09-28 20:16 [Bug c++/58569] New: Compilation error when copying class which " pierre.krieger1708 at gmail dot com 2013-09-28 23:53 ` [Bug c++/58569] Compilation error when a class " redi at gcc dot gnu.org 2013-10-01 6:39 ` paolo.carlini at oracle dot com 2013-10-01 7:01 ` redi at gcc dot gnu.org 2013-10-01 7:11 ` daniel.kruegler at googlemail dot com 2013-10-01 7:46 ` redi at gcc dot gnu.org [this message] 2013-10-01 7:49 ` daniel.kruegler at googlemail dot com 2013-10-01 8:04 ` redi at gcc dot gnu.org 2013-10-01 8:10 ` redi at gcc dot gnu.org 2013-10-01 8:12 ` redi at gcc dot gnu.org 2013-10-01 8:26 ` redi at gcc dot gnu.org 2013-10-01 8:32 ` daniel.kruegler at googlemail dot com 2013-10-01 8:52 ` redi at gcc dot gnu.org 2013-10-01 8:57 ` daniel.kruegler at googlemail dot com 2013-10-01 9:17 ` daniel.kruegler at googlemail dot com 2013-10-01 13:01 ` [Bug libstdc++/58569] " paolo.carlini at oracle dot com 2013-10-02 20:22 ` redi at gcc dot gnu.org 2013-10-02 20:22 ` redi at gcc dot gnu.org 2013-10-02 20:23 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58569-4-9rzRBjjSJ3@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).