Boost logo

Boost :

From: Samuel Krempp (krempp_at_[hidden])
Date: 2003-09-17 08:05:57


le Wednesday 17 September 2003 14:27, pdimov_at_[hidden] écrivit :

> Samuel Krempp wrote:
>>
>> (I guess you dont need assign if using boost::lambda
>> bind(protect(_1 = _2), bind(&X::member, _1), val) (x);
>> )
>
> bind(&X::member, _1) = val
>
> is the lambda spelling.

or right, my first move was simply replacing assign with a protected lambda
function, it's unnecessary ugly.

-- 
Samuel

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk