On Wed, Feb 27, 2013 at 5:10 AM, Niitsuma Hirotaka <hirotaka.niitsuma@gmail.com> wrote:
You can edit your prefer type generalize oder

typedef boost::mpl::vector<int,boost::rational<int>,float,double,long
double,std::complex<double>,std::complex<long double>  >::type
ordered_number_types;

=>

typedef boost::mpl::vector<bool,char,int,boost::rational<int>  >::type
ordered_number_types;

 

 float tends not to hold all ints.   double usually does, although I'm not sure it is guaranteed.

Tony