
27 Feb
2013
27 Feb
'13
10 a.m.
2013/2/27 Niitsuma Hirotaka
boost::variant should be
variant
=> int
variant
=> double
variant
=> boost::rational<int> variant
=> variant 1. Is double guaranteed to be a superset of int?
2. Do you lose the information, which type is contained (int/double)? Regards, Kris
I wrote such extension
https://github.com/niitsuma/variant_shrink _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users