P3842R2 — A conservative fix for constexpr uncaught_exceptions() and current_exception()
Ville Voutilainen
LEWGLWG
Revisions R2Apr 2026R1Apr 2026
The papers [P3818](https://open-std.org/JTC1/SC22/WG21/docs/papers/2025/p3818r1.html) and [P3820](https://open-std.org/JTC1/SC22/WG21/docs/papers/2025/p3820r1.html) explain the background of the problem we have making uncaught_exceptions() and current_exception(). In short, having those function constexpr is a breaking change in some cases.