Simon Rozman bfd8aaff65 Stop throwing in destructors
When exception processing is unwinding the stack, any exception thrown
in destructors end up std::terminate()-in our process.

Since all workarounds to report errors from destructors seems an
overkill, and the only important place where we should notify the user
about a failure is the stdex::stream::cache::~cache() (data loss occurs
when failure happens here), and if we'd throw in stdex::stream::cache::
~cache(), our process would get terminated anyway so the data loss is
inevitable, let's just silence this for now and come up with a better
solution later if we get smarter anytime in the future.

Signed-off-by: Simon Rozman <simon@rozman.si>
2025-03-06 22:15:45 +01:00
2022-03-07 11:37:35 +01:00
2025-01-08 12:36:35 +01:00

stdex - Random stuff that didn't made it into std C++

An auto-generated documentation is here.

Requirements

  • MSVC 2019 or later, XCode 13 or later
  • C++17 or later
Description
Standard C++ Library Extension
Readme MIT 60 MiB
Languages
C++ 100%