Comment Re:Should you have a separate debug build at all? (Score 1) 121
Though its not obvious how to do it, it is possible to make some assertions work at compile time in C++.
For a good example of this check out the boost library and look for static_assert.
For a good example of this check out the boost library and look for static_assert.