Paul Mensonides
Be warned that the sequence that results from the above is a *binary* sequence, and the facilities in the pp-lib cannot deal with binary sequences--only unary. That's not a showstopper, but it means that you can't use generic tools (at least those provided by the pp-lib) to manipulate the result, so you'll have to "manually" generate whatever it is that you want to generate. However, if you can follow how the above works, you should be able to do that without too much difficulty.
Some time ago I've posted question about binary pp sequences to this list. And you were so kind to supply me with this macro: # define BINARY_SEQ_TO_SEQ(seq) BINARY_SEQ_TO_SEQ_I(seq) # define BINARY_SEQ_TO_SEQ_I(seq) BOOST_PP_CAT(BINARY_SEQ_TO_SEQ_A seq, 0) # define BINARY_SEQ_TO_SEQ_A(x, y) ((x, y)) BINARY_SEQ_TO_SEQ_B # define BINARY_SEQ_TO_SEQ_B(x, y) ((x, y)) BINARY_SEQ_TO_SEQ_A # define BINARY_SEQ_TO_SEQ_A0 # define BINARY_SEQ_TO_SEQ_B0 Thans again for wonderfull library and great help on this mailing list. Roman Perepelitsa.