Index: boost/ratio/detail/mpl/lcm.hpp =================================================================== --- boost/ratio/detail/mpl/lcm.hpp (revision 0) +++ boost/ratio/detail/mpl/lcm.hpp (revision 1) @@ -67,7 +67,7 @@ namespace aux { - template< typename T1, T1 n1, bool n1_is_0, typename T2, T2 n2, bool n2_is_0 > + template< typename T1, intmax_t n1, bool n1_is_0, typename T2, intmax_t n2, bool n2_is_0 > struct lcm_aux : abs::type, @@ -75,11 +75,11 @@ > > {}; - template + template struct lcm_aux : integral_c {}; - template + template struct lcm_aux : integral_c {}; } Index: boost/ratio/detail/mpl/gcd.hpp =================================================================== --- boost/ratio/detail/mpl/gcd.hpp (revision 0) +++ boost/ratio/detail/mpl/gcd.hpp (revision 1) @@ -66,7 +68,7 @@ }; namespace aux { - template< typename T1, T1 n1, bool n1_is_0, typename T2, T2 n2, bool n2_is_0 > + template< typename T1, intmax_t n1, bool n1_is_0, typename T2, intmax_t n2, bool n2_is_0 > struct gcd_aux : gcd_aux {}; - template + template struct gcd_aux : integral_c {}; - template + template struct gcd_aux : integral_c {}; }