Boost logo

Boost Users :

Subject: Re: [Boost-users] generate structs with all combinations of members from a given struct
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-02-06 13:13:24


Hicham Mouline wrote:
> Questions:
> 1. It takes a little while to preprocess. Are there optimizations that are
> visible in the attached file?
> 2. How do I obtain some vertical appearance that is easier to read? Can I
> generate the newline somehow?
>
Look at BOOST_PP_ITERATE. It'll give you the "vertical" feeling and may
end up a bit faster.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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