Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-11-18 07:27:31


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? :)

Dirk Gerrits


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