Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-11-09 12:02:27

Johan Paulsson <boost.org_at_[hidden]> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at