This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2009 09:04:07 -0000
- Subject: [Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues
- References: <bug-35569-6196@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from paolo dot carlini at oracle dot com 2009-01-17 09:04 -------
Maybe this issue isn't sufficiently clarified in the audit. Unless I'm badly
mistaken (Jon, Chris will correct me), this is not a bug for a C++03 + TR1 bind
(indeed the testcases provided by Doug are rather clear about that). Only in
C++0x the specs say it must work. Of course implementations can also "fix" it
for C++03 + TR1, but this is not in general the way we are managing these
issues, we prefer leaving the TR1 version alone.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35569