Skip to content
Snippets Groups Projects
Commit f0747c52 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Merge branch 'feature/FS1030-bounds-checking' into 'master'

[FS#1030] Add, use, and test DUNE_ASSERT_BOUNDS

If `DUNE_CHECK_BOUNDS` is defined, `DUNE_ASSERT_BOUNDS` checks if a condition holds; otherwise, it does nothing. It is meant to be used for conditions that assure writes and reads do not occur outside of memory limits or pre-defined patterns and related conditions.

Replacement for `assert` in relevant context; guarded by a single universal define rather than existing class- or module- specific ones.

See merge request !17
parents 48482361 c9f627ee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment