libassert
libassert copied to clipboard
The most over-engineered C++ assertion library
This PR focuses on building the infrastructure to allow the use of modern C++20 and C++23 features if available. Implementing the library features into the project is outside this PR's...
can not build with gcc 8.5: ``` /opt/vcpkg/buildtrees/libassert/src/v2.0.2-d0c1f55be9.clean/src/tokenizer.cpp: In lambda function: /opt/vcpkg/buildtrees/libassert/src/v2.0.2-d0c1f55be9.clean/src/tokenizer.cpp:47:10: error: no matching function for call to ‘to_array()’ }); ^ In file included from /opt/vcpkg/buildtrees/libassert/src/v2.0.2-d0c1f55be9.clean/src/tokenizer.hpp:8, from /opt/vcpkg/buildtrees/libassert/src/v2.0.2-d0c1f55be9.clean/src/tokenizer.cpp:1: /opt/vcpkg/buildtrees/libassert/src/v2.0.2-d0c1f55be9.clean/src/utils.hpp:117:50:...
Hi, One thing that I currently use pretty often (especially for networking code) is: ```cpp if (!AssertTrue(a > 3)) { // Handle the failed assertion in release return; } ```...
Hi and thanks for the amazing library! For handling unexpected values, I would like an unconditional assertion for which a custom assertion handler can decide not to abort, i.e. one...