[boost] Re: MPL's "round" lambda
by Dirk Gerrits other posts by this author
Nov 18 2002 3:28PM messages near this date
Re: [boost] MPL's "round" lambda
|
Re: [boost] MPL's "round" lambda
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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Aleksey Gurtovoy
=?iso-8859-1?Q?Terje_Sletteb=F8?=
Joel de Guzman
Dirk Gerrits
Peter Dimov
Peter Dimov
Dirk Gerrits
Douglas Gregor
David Abrahams
|