This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 22:10:16 -0000
- Subject: [Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function
- References: <bug-42593-3237@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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