2 ms·
Comment won't be included the assertion message. If you want to put arbitrary string there, you need something like this: assert("foo should be 4" && (foo
by jwilk 8y ago
Comment won't be included the assertion message.
If you want to put arbitrary string there, you need something like this:
assert("foo should be 4" && (foo() == 4));
- vortico 8y agoAh, thanks, I had forgotten.