| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
This reduces friction to writing an assert, so hopefully there will be
more of them as a result. And we can use asserts in public headers
now, very useful for templates.
|
|
|
|
|
|
| |
X is true" and "assertion X is false". Convert all of them to the form
"assertion X is true" thus making it clear what it is that we are
attempting to assert by testing the expression provided.
|
| |
|
| |
|
|
errors of the form
if(some_expr_indicating_failure)
throw Internal_Error("Some mildly informative message");
Make this simpiler with the addition of a BOTAN_ASSERT macro which will
throw an exception upon failure.
|