
27 Apr
2007
27 Apr
'07
6:24 p.m.
Larry Evans wrote:
On 04/27/2007 10:59 AM, Eric Niebler wrote: [snip]
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.
Eric,
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