Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-11-13 15:23:19


Daniel James wrote:
>
> This coupling could be avoided by using an overloaded operator to
> combine the arguments, for example:
>
> f(slew(.799) | name("z"));

I've been using essentially the same technique, except that I chose & as a
combiner operator. | isn't bad, too.


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