Check if the macro __cpp_lib_uncaught_exceptions is available as well because some compilers like MSVC report an old __cplusplus version even in C++17 mode.
Coverage remained the same at 99.923% when pulling 0ebb61ba5b063885fcd1348971f89f756d882b39 on fix-uncaught_exceptions-detection-msvc into e40bc46bc41347f2ea39b7141a5b522873f516ef on master.
Check if the macro
__cpp_lib_uncaught_exceptions
is available as well because some compilers like MSVC report an old__cplusplus
version even in C++17 mode.