From: Eric Niebler (eric_at_[hidden])
Date: 2007-04-27 14:24:44
Larry Evans wrote:
> On 04/27/2007 10:59 AM, Eric Niebler wrote:
>> You might look at the fold<> transform (I suggest you run the sources
>> through the preprocessor first). And then try to wrap your head around
>> the fold_to_list<> transform to see how the runtime component of the
>> transform works. Once you understand that, you'll know proto's
>> transforms inside and out.
> I've tried to get boost build to create a preprocessor output file
> without success.
I don't know. I use (on windows) "cl /I %BOOST_ROOT% /P fold.hpp". That
creates fold.i with the preprocessed output. Maybe a BBv2 expert knows?
Maybe there is a <preprocess>yes feature, or someone could add one.
-- Eric Niebler 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