This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48113] [4.6 Regression] [C++0x] bind with tuple argument fails
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Mar 2011 14:19:47 +0000
- Subject: [Bug libstdc++/48113] [4.6 Regression] [C++0x] bind with tuple argument fails
- Auto-submitted: auto-generated
- References: <bug-48113-4@http.gcc.gnu.org/bugzilla/>
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.