- I have a typelist and I want to declare a member variable for each
of the types. How can I do that?
E.g. I have the typelist "typedef boost::mpl::vector<int, float>
types;" and I want to declare member variables with type "int" and
"float".
- I have a typelist and I want to declare a variable based on each of
the types types. How can I do that?
E.g. I have the typelist "typedef boost::mpl::vector<int, float>
types;" and I want to declare member variables with type
"std::tr1::function<void(int)>" and "std::tr1::function<void(int)>".
- I have two typelists and I want to declare a variable for each
combination of type of the two lists.
E.g. I have the typelists "typedef boost::mpl::vector<int, long>
types;" and "typedef boost::mpl::vector<float, doubletypes;" and I
want to declare member variables with type "std::pair<int, float>",
"std::pair<int, double>", "std::pair<long, float>", "std::pair<long,
double>".
Best regards,
--
Ares Lagae
Computer Graphics Research Group, Katholieke Universiteit Leuven
http://www.cs.kuleuven.be/~ares/