C like compilers only off `-DNDEBUG` to disable asserts. This is not a universal paradigm however. Rust, for example has an argument that takes a boolean. To better represent this, we allow passing a `disable` boolean. `disable` was chosen rather than `enable` because it allowed all existing logic to be left in placepull/11716/head
parent
c0c9f755a4
commit
bfce5c45a4
4 changed files with 28 additions and 15 deletions
Loading…
Reference in new issue