How would one go about identifying the types inside a boost::fusion vector?
e.g.
fusion::vector<int, double, string> v;
then something that would let me identify v[0] as being type int, v[1] as type double and v[2] as type string.
Thanks.
In order to extract an element from a
boost::fusion::vectoryou need to useboost::fusion::at_c, like this:The type at position N is: