Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-11-18 10:28:04


Dirk Gerrits wrote:

> Aleksey Gurtovoy wrote:
>
> > If you are tired of angle brackets in your templates (no, it's not a TV
> > commercial :), may be you'll like this one:
>
>
> [source code snipped]
>
> > The above actually compiles on Comeau C/C++ 4.3.0.1 and Intel C++ 6.0
> > with
> > the current MPL sources in the CVS; see
> >
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/boost/boost/libs/m
>
> >
> > pl/example/lambda2.cpp for an example. Note that the "factorial" snippet
> > there doesn't work yet (if you ask 'fact::value', it will blow).
>
>
> Seems very nice. But I feel to see the practical use of it. Is it just
> syntactic sugar? And if not, could you enlighten me on the practical
> use? :)

feel should be fail, of course.

And I hope I didn't sound to negative. Syntactic sugar can be good too.
I just like to know if that is all it is.

Dirk Gerrits


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