Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-05 08:39:54


Edward Diener <eddielee_at_[hidden]> writes:

>>>I did not think, unlike lambda, that one could ever use placeholders
>>>in bind outside the call to the bind function itself. Where is this
>>>documented ?
>>
>>
>> http://boost-consulting.com/boost/libs/bind/bind.html#operators
>>
>
> OK, I see it. What is _1 > _2 supposed to mean ?

To me it's supposed to mean roughly the same thing as in Boost.Lambda.

> Do not placeholders in bind only have value when a bind function
> object has been called ?

?? Have a value? They are objects in many ways just like any other
object. We can define the overloaded operators on them just like the
overloaded operators on bind_t instances are defined.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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