id summary reporter owner description type status milestone component version severity resolution keywords cc 13225 operator != fails in classes derived from boost::rational Michael Hanrath Jonathan Turkanis "In a class derived from boost::rational operator != seems to return ""false"" always. {{{ #include #include struct RationalNumber : public boost::rational { RationalNumber(int n, int d) : boost::rational(n, d) {} }; using namespace std; template void check() { T r(2, 3); T q(2, 3); T s(2, 4); cout << (r!=q) << "" "" << (r!=s) << endl; } int main() { check>(); // works cout << ""---------------"" << endl; check(); // fails for boost version > 1_63_0 return 0; } }}} Bug appears since boost version 1_64_0 and is present in current development trunk (git repository on 20170921) still. " Bugs new To Be Determined rational Boost 1.64.0 Problem