Boost logo

Boost :

Subject: Re: [boost] phoenix::bind
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-10-02 12:06:45


Joel de Guzman:

>> This doesn't feel right to me. val(x)(...) returns x. val(_1 < _2)( 1,
>> 2 ) ought to return _1 < _2. unlambda( _1 < _2 )( 1, 2 ) returns true.
>
> Why do you need to write val(_1 < _2) and not just _1 < _2 ?

I have no idea. I'm just saying that val( _1 < _2 ) already has a meaning
that is not the same as _1 < _2.


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