Files
scylladb/utils
Piotr Dulikowski 18f43fa00e utils/exceptions: add try_catch
Introduces a utility function which allows obtaining a pointer to the
exception data held behind an std::exception_ptr if the data matches the
requested type. It can be used to implement manual but concise
try..catch chains.

The `try_catch` has the best performance when used with libstdc++ as it
uses the stdlib specific functions for simulating a try..catch without
having to actually throw. For other stdlibs, the implementation falls
back to a throw surrounded by an actual try..catch.
2022-07-05 16:41:09 +02:00
..
2022-07-04 19:27:06 +02:00
2022-06-02 11:21:05 +03:00
2017-04-17 23:03:15 +03:00
2022-02-28 12:36:03 +02:00
2022-07-05 16:41:09 +02:00
2022-07-05 16:41:09 +02:00
2022-02-28 12:52:47 +02:00