Boost logo

Boost :

From: joel de guzman (djowel_at_[hidden])
Date: 2002-01-29 17:36:00


----- Original Message -----
From: "Aleksey Gurtovoy" :

> David Abrahams wrote:
> > I recently discovered that nontype template parameters other
> > than integers are much better supported across compilers
> > than I had previously expected, so now I'm on the lookout
> > for uses.
>
> And there are plenty of them - pointers to (member) functions as non-type
> template parameters are indeed unexpectedly cool and useful :). For example,
> here is a simple application of a compile-time state machine generator we've
> wrote recently:
>
> class player [snip]

>
> IMO, a programming language that allows you to do something like this is
> cool by definition :).

This is so cool! Waayy cool.

--Joel

PS> I hope we get over the "which is the better meta-list" issue. We
really need a common meta-list library and we need it fast. I'd like
to see a layered approach. The most common core-functionality
should be quite simple in fact and does not need the full blown mpl.
I imagine the core will be used 95% of the time.


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