Boost logo

Boost :

From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2002-11-18 14:50:14


> On Monday 18 November 2002 05:56 am, 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:
> >
> > typedef eval<
> > count_if(
> > list(int,char,long,int)
> > , lambda(is_same(_,int))
> > )
> >
> > >::type res;
> >
> > BOOST_STATIC_ASSERT(res::value == 2);
>
> Very cool indeed! We need to invent an award for the craziest
> use of obscure
> language features (you have my vote).
>
> Doug

Could those enlightened bring some light for the rest of us?

Gennadiy.


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