I want to work with rational numbers whose numerator and denominator can go well above the limit of even long long int's, and boost::rational is a nice class that was specifically designed for unlimited integer types. But when I look up what unlimited integer types exist for C++, the only one that's ever recommended is GMP, which was designed for C and hence has annoying memory management things to deal with. Does there exist a C++ (not C) library that contains an unlimited integer type that works well with boost::rational?
Boost has the rational type that you are looking for, only not as part of Boost Rational: it's in Boost Multiprecision: cpp_rational