
26 Apr
2012
26 Apr
'12
6:53 p.m.
on Wed Apr 25 2012, Fernando Pelliccioni <fpelliccioni-AT-gmail.com> wrote:
Hi,
Is this piece of code useful ?
The purpose is to tranform code like the following:
typedef cons<int, cons<float, cons<char, cons<string>>>> t0; // fusion::cons or similar data structures
in
typedef chain_generator<cons, nil> cons_gen; typedef cons_gen::gen<int, float, char, std::string>::type t1;
I don't know if there is something similar in a library. I think it could be useful.
Quite possibly. What prompted you to write it? -- Dave Abrahams BoostPro Computing http://www.boostpro.com