[Bug libstdc++/51657] bind1st multiplies a pointer
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 22 21:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51657
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-22 21:27:56 UTC ---
The standard says bind1st(const Op& op, const T& x) returns:
binder1st<Op>(op, typename Op::first_argument_type(x)).
note the explicit type conversion
More information about the Gcc-bugs
mailing list