Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-07-09 15:23:06


"David Abrahams" <david.abrahams_at_[hidden]> wrote in message
news:097901c2277f$8cb6df40$6601a8c0_at_boostconsulting.com...
> [...]
> Wouldn't a syntax like:
>
> invoke(target, pmf, arg1, arg2...)
> [...]

Yeah, I like that syntax, and I see that it spares you the intermediate
closure object. I could write invoke() myself for a few cases, but I
don't understand the preprocessor lib enough to make it generic
for arbitrary numbers of parameters. Of course, people will still
argue that you should just use bind(), and maybe they're right. ;)

Dave


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