|
Boost Users : |
From: Paul (elegant_dice_at_[hidden])
Date: 2006-08-02 01:29:47
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't we have a boost::bind_return_reference(...) function that is the
equivalent of boost::bind<R&>(...), so I don't have to do all the hard result_of
type deduction manually?
cheers
Paul
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