0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-23 20:38:20 +02:00

ircd::ctx: Strict uncaught exception assertion on context switch.

This commit is contained in:
Jason Volk 2023-02-17 23:40:27 -08:00
parent 61248a4c5b
commit c78a7e96b9

View file

@ -1087,6 +1087,9 @@ noexcept
// initializer list.
assert(!std::uncaught_exceptions());
// Saved uncaught exception count was non-zero.
assert(!uncaught_exceptions);
// Note: Construct an instance of ctx::exception_handler to enable yielding
// in your catch block.
//