|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-02-10 09:59:52
Cromwell Enage <sponage_at_[hidden]> writes:
> --- Daniel Wallin wrote:
>> 1.34 will feature new macros in Boost.Parameter that
>> have a significantly improved interface. Some of the
>> syntax is demonstrated in this test:
>>
> http://cvs.sourceforge.net/viewcvs.py/*checkout*/boost/boost/libs/parameter/test/preprocessor.cpp
>
> Wonderful!
>
> I'm curious as to how one would pass initializer lists
> to a Boost.Parameter enabled constructor. It looks
> like s/he would have to create a base class that
> handles all the initialization while the derived
> class, which is the frontend, passes on the arguments.
> Am I right?
Yep. See libs/parameter/test/preprocessor.cpp
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk