help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested std::tr1::bind problem


From: Pedro Lamarão
Subject: Re: Nested std::tr1::bind problem
Date: Wed, 12 Mar 2008 11:46:15 -0700 (PDT)
User-agent: G2/1.0

On Mar 11, 4:51 pm, Rodolfo Schulz de Lima <rodo...@rodsoft.org>
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 libstdc++@gcc.gnu.org if the above is a bug.

--
 P.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]