Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-14 20:58:40


Oliver Kullmann wrote:
> Given two sequences A and B (according to the Boost
> Preprocessor datastructure definition), I want
> to create a nested switch statement, the outer
> switch running through the constants in A, the inner
> loops running through B.

If you don't need to do it all within a macro, use file iteration:
The generated code is much better to debug, human-readable and it's generated faster.

Regards,

Tobias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk