
On Wed, Mar 3, 2010 at 4:12 PM, Eric Niebler
On 3/4/2010 6:51 AM, Manjunath Kudlur wrote: <snip>
I can merrily call assign()(a=10) and I get the expected behaviour. But when I call assign()(a(20)), I get a compilation error saying that there is no match for operator()(const Var<int> &, const int&). Why is that when I call proto::_value(proto::_left) on a proto::function expression, a *const* reference gets passed to the transform?
This is a bug. Thanks for reporting it. It's now fixed on trunk.
Thanks for fixing it. I like the fresh off the oven smell of Proto ;) Manjunath
-- Eric Niebler BoostPro Computing http://www.boostpro.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users