
17 Jul
2007
17 Jul
'07
2:06 p.m.
on Tue Jul 17 2007, "Peng Yu" <pengyu.ut-AT-gmail.com> wrote:
On 7/16/07, Mathias Gaunard <mathias.gaunard@etu.u-bordeaux1.fr> wrote:
Peng Yu wrote:
I've seen typelist somewhere. I'm wondering if it is defined in boost?
Boost has better than that, it has the Boost Meta-Programming Library (MPL) that contains various data structures and algorithms around types.
Hi,
I saw list in mpl. But I'm not familiar with it yet. Would you please show me how to do the same thing in mpl as that in my original email?
typedef boost::mpl::list<Rect_, Square_, Triangle_, RightTriangle_> Shapes_; See http://www.boost-consulting.com/mplbook -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com