Boost logo

Boost :

From: Maurizio Vitale (mav_at_[hidden])
Date: 2007-04-27 07:54:09

Larry Evans <cppljevans_at_[hidden]> writes:

> 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've had to use make to do that; consequently, I've
> had to have 2 methods of building. Have you been able to
> create some boost build v2 rules that produce the preprocessor
> output? If so, could you publish it. I did pose this question to
> the boost build list:

I simply do it by hand, going to the directory containing (for instance)
fold.hpp and running:

         g++ -E -P -C -I<top of boost tree> -xc++ fold.hpp > fold.pp



Boost list run by bdawes at, gregod at, cpdaniel at, john at