On 7/31/14, 2:11 PM, Daniel Gibson wrote:
Maybe, besides enforce() and assert() there could be a check() that: * returns true if the condition is true * throws an exception in debug mode if the condition is false * returns false in release mode if the condition is false could be introduced.
Yah, an extra non-magic function that performs the "mild assert" discussed in this thread would be a possibility. -- Andrei