On Mar 11, 4:51 pm, Rodolfo Schulz de Lima <[EMAIL PROTECTED]> wrote: > Pedro Lamarão wrote: > > None of the candidate functions in the overload set, as given in the > > error diagnostic, take rvalues as arguments. > > That's what I've thought. But if we use boost::bind in this example it > would compile. IMHO I think using rvalues should be accepted because > it's a common use case, and I doubt the standard would say otherwise. > The bind's return functor should forward the arguments to the functor > associated with it, so it should accept rvalues as well.
Are you using GCC 4.3.0 release? Check with the people in [EMAIL PROTECTED] if the above is a bug. -- P. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus