Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-04 08:40:33


"Peter Dimov" <pdimov_at_[hidden]> writes:

> Are you going to introduce new syntax for count(_2) and _2.count()
> as well?
>
> bind(count, _2)

bind(count)(_2)

> bind(&X::count, _2)

_2.member(&X::count)()

-- 
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