|
kaycxx-assert
C++ assertion library
|
Asserts that two values are equal.
For normal values, both arguments must have the same unqualified type and are compared with operator==. C string forms are handled specially so text is compared instead of pointer identity. This allows practical checks like comparing char const* with a string literal.
On failure, the exception message includes rendered actual and expected values.