Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-08-02 11:00:42


Paul wrote:
> Hi all,
>
> I understand why boost::bind() must return a const-reference or a
> value, but what I don't understand is, why must I do
> boost::bind<R&>(...) if I want it to return by reference?
>
> Why must I (the user) deduce the return type myself?

Can you expand your ... a bit in order to help me understand your question
better?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net