Best practice for assertions for debugging purposes

Or just copy the trick from there: use a function that just returns true, then redefine it to false to turn off asserts. That will force recompilation of functions that use that function.

7 Likes