felixguendling / cista

Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.
https://cista.rocks
MIT License
1.8k stars 116 forks source link

Allow the library to be used in -fno-exception targets #206

Closed khng300 closed 7 months ago

khng300 commented 7 months ago

This change introduces cista::throw_exception as a helper to dispatch the call to either a throw expression, or abort() call in case -fno-exception is enabled.

khng300 commented 7 months ago

I just force-pushed with no changes but seems like the review view of include/cista/cista_exception.h is still not updated.

felixguendling commented 7 months ago

Thank you! :)