|
Boost : |
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2002-04-03 23:09:29
> Now, if you just simply include "my_library/preprocessor.hpp", you will get
> exactly that - a debuggable, expanded code for the commonly-used
> low-repetition cases (5, in above example), and the raw
> preprocessor-generated code for the rest of the cases (5-15). You generate
> the expanded code by invoking the compiler in preprocessing-only mode with
> 'BOOST_MY_LIBRARY_GENERATOR_MODE' macro defined, and save the result as
> "my_library/preprocessed/my_header.hpp". The whole thing should be pretty
> easy to automate.
>
> Aleksey
Sorry if this was already covered (I'm new here.), but what specifically is the
problem? Is it the output of preprocessor in these 'linearization' types of
expansion all being on one huge line and a real pain to debug? If that's it, I
have some ideas from my own stuff.
Paul Mensonides
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk