23 Oct
2008
23 Oct
'08
8:03 p.m.
AMDG Emanuele Rocci wrote:
If I have boost::variant< std::string, double, int > aVariable for example, do you know a way to test -what types are supported i.e. some test telling me that aVariable handles string, double and int -how many types are supported i.e. 3 in this example
"The bounded types of the variant are exposed via the nested typedef types, which is an MPL-compatible Sequence containing the set of types that must be handled by any visitor to the variant." In Christ, Steven Watanabe