Non-debug mode removes asserts statically. -- Andrei
Using pre-/post-conditions allows the _caller_ to specify whether the checks are run without recompiling the function body, at least in theory.
David
David Nadlinger via Digitalmars-d Wed, 04 Feb 2015 17:36:07 -0800
Non-debug mode removes asserts statically. -- Andrei
Using pre-/post-conditions allows the _caller_ to specify whether the checks are run without recompiling the function body, at least in theory.
David