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++/48113] [4.6 Regression] [C++0x] bind with tuple argument fails


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48113

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6/4.7 Regression]        |[4.6 Regression] [C++0x]
                   |[C++0x] bind with tuple     |bind with tuple argument
                   |argument fails              |fails

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-14 14:19:36 UTC ---
N.B. as a workaround you can specify the return type of the bind expression:

  std::bind<void>(&test_1, std::tuple<int>(tst))
           ^^^^^^

This avoids the problem code, which is trying to determine the return type.


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