|
Boost Users : |
Subject: Re: [Boost-users] PP: how to use automatic recursion
From: Daniel James (daniel_james_at_[hidden])
Date: 2010-02-01 12:00:38
On 1 February 2010 07:27, Hicham Mouline <hicham_at_[hidden]> wrote:
>
> I am trying to generate many types from 1 struct (for full background,
> please see thread "generate structs with all combinations of members from a
> given struct"), with the help of Boost.PP
Recursion is tricky, you're generally better of using the looping
macros supplied by the preprocessor library. Did you see the macros in
my previous email?
http://lists.boost.org/boost-users/2010/01/55739.php
Daniel
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net