Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-07-07 15:13:29


On Wednesday 07 July 2004 5:41 am, Peter Dimov wrote:
> Doug Gregor wrote:
> > We just ran into a need for passing 12 arguments to boost::bind(),
> > which only supports up to 9 arguments.
>
> Twelve arguments? I'd like to see that example. ;-)

It's a good one :)

In this case, I almost had a nonbeliever convinced that bind was The Way, and
it was all good until his function jumped from 9 arguments to 12. He's now
switched over to a configuration object and is picking on me because
templates did lead to more readable code (but not in the way we wanted...).

C'mon, take a hit of the preprocessor metaprogramming crack. You *know* you
want to :)

        Doug


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