Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Usages of assert in expressions with side effects #1
The code used a lot of asserts with expressions that have side effects. Fortunately, the build system does not define NDEBUG in any cases, but it would be nice to replace standard assert() with another variant that is safer in this regard.
Note: if assert() is turned into a no-op, a lot of unit tests would fail.