This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/42593] [c++0x] [4.5 Regression] std::bind not assignable to std::function



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]