
1 Sep
2007
1 Sep
'07
4:44 p.m.
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