[Bug libstdc++/48113] [4.6 Regression] [C++0x] bind with tuple argument fails
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 14 14:19:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list