Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-09-01 14:02:32


On 09/01/07 11:44, Sebastian Redl wrote:
> Marco Costalba wrote:
>> I think it is possible to avoid the macros:
>>
> It is. See http://www.boost.org/libs/mpl/doc/refmanual/list.html for
> what's already in Boost. There aren't many tricks not used in the MPL.
> Furthermore, it is possible to use macros to generate the templates and
> specializations necessary for this trick. See the MPL sources and the PP
> library if this interests you.
>
> Sebastian Redl
Doug Gregor's variadic template compiler can be used to do this
without any macros (mpl uses the boost_pp library). There is
a partial translation of mpl to use this compiler in the
boost vault under variadic_templates.


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