
9 Nov
2006
9 Nov
'06
5:02 p.m.
Johan Paulsson <boost.org@kuodo.com> writes:
In this case, with the compilers I used, I do not see a big difference in quality of the error message.
Of course not, especially because in this case you seem to have left out all but the very useless ASSERT(false) case.
Also, the first test, which simply asserts a bool constant, is not very interesting from an error-message-quality point of view. You can't expect much useful information from such an assertion; it's similar to
assert(false);
at runtime.
I agree, I should have left it out of the compiler output.
So why did you throw out the only assertion that can possibly show useful results? -- Dave Abrahams Boost Consulting www.boost-consulting.com