$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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