From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17259 invoked by alias); 3 Jan 2010 18:07:13 -0000 Received: (qmail 17233 invoked by uid 48); 3 Jan 2010 18:07:03 -0000 Date: Sun, 03 Jan 2010 18:07:00 -0000 Message-ID: <20100103180703.17232.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" 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 X-SW-Source: 2010-01/txt/msg00299.txt.bz2 ------- Comment #10 from redi at gcc dot gnu dot org 2010-01-03 18:07 ------- OK P.S. (In reply to comment #8) > > (the ability to use this workaround was the main reason I fixed std::bind > recently) I think I've mentioned to Paolo in private mail that we could use bind (specifically, bind) in several places because doing so should reduce compile time, as it avoids using result_of and decltype to determine the return type. I haven't done so yet, because deducing the return type provides better testcases for std::bind while I'm still working on it. Once the work is complete, we should consider using bind in and -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42593