Replies: 1 comment 2 replies
-
Thanks for reporting. I think using a macro like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The library uses
assert
in certain places to signal about fatal errors.An example:
Such kind of signal isn't friendly (when debugging, the code just crashes) if compared to
_ASSERT
(from<crtdbg.h>
, which is available for Microsoft C++ compiler) or similar macros (like https://github.com/foonathan/debug_assert).Please, provide a way to use another macro instead of
assert
.It is not possible to globally redefine
assert
for the library, because it includes<cassert>
directly.Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchBeta Was this translation helpful? Give feedback.
All reactions