> At least what I read here is following:> All instancesRight, but the 1st link says:vof typevariant<T1,T2,...,TN>guarantee thatvhas constructed content of !!!one!!! of the types!!!Ti!!!, even if an operation onvhas previously failed.
> For me it means that it can be T2 or TN as well.
"boost::variant< int, std::string > v;
By default, avariantdefault-constructs its first bounded type, sovinitially containsint(0). If this is not desired, or if the first bounded type is not default-constructible, avariantcan be constructed directly from any value convertible to one of its bounded types. "