convert_to<double>() throws exception here, but it terminates the program, cannot be caught. It seems to be due to noexcept qualifier somewhere on the way, probably eval_convert_to in cpp_int/misc.hpp
The behavior change between boost 1.78 and boost 1.79.
See the following code: https://godbolt.org/z/cs6cbjnPr
convert_to<double>()
throws exception here, but it terminates the program, cannot be caught. It seems to be due tonoexcept
qualifier somewhere on the way, probablyeval_convert_to
in cpp_int/misc.hppThe behavior change between boost 1.78 and boost 1.79.