
4 Mar
2010
4 Mar
'10
12:12 a.m.
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. -- Eric Niebler BoostPro Computing http://www.boostpro.com