Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2000-03-17 12:45:01


> I think the aim is good, and the notation's got a lot of the right
> properties. However, I was wondering about adopting a different
> convention:
>
> (boost::lambda) a + b + c
>
> Ie, using old style cast notation to begin the chain. So something like:
>
> class lambda
> {
> public:
> template<typename T> lambda(const T &);
> ...
> };
>
> Although I've used this technique before, I haven't had the chance to
> think this one through completely for the current example. Any thoughts?

One downside: This will collide with the "warn on all uses of old-style
cast" option that I like to use in GCC and that I've requested from
Metrowerks for CodeWarrior.

    -- Darin


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