From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23596 invoked by alias); 3 Jan 2010 22:10:28 -0000 Received: (qmail 23552 invoked by uid 48); 3 Jan 2010 22:10:16 -0000 Date: Sun, 03 Jan 2010 22:10:00 -0000 Message-ID: <20100103221016.23551.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/msg00320.txt.bz2 ------- Comment #13 from redi at gcc dot gnu dot org 2010-01-03 22:10 ------- Created an attachment (id=19458) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19458&action=view) updated patch this fixes the formatting in the previous patch, includes the call_once workaround, and updates the testsuite. This patch disables the volatile-qualified _Bind::operator() overloads with '#if 0' because I'm not smart enough to figure out how to support that. If those overloads are enabled then you get errors when trying to pass reference_wrapper or _Bind as an argument to _Bind::operator(). IMHO we can live without volatile support for 4.5 because I don't think it's a widely-used feature. As well as this bug, it fixes bug 35569 and its dup I want to do some more tests to be sure this is ready -- redi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #19453|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42593