2013/2/27 Niitsuma Hirotaka <hirotaka.niitsuma@gmail.com>
boost::variant should be
variant<int,int>
=> int
variant<int,double>
=> double
variant<int,boost::rational<int> >
=> boost::rational<int>
variant<int,double,std::string>
=> variant<double,std::string>
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