Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Leibner
dune-common
Commits
c9f627ee
Commit
c9f627ee
authored
9 years ago
by
Elias Pipping
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation
parent
09fd741d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/common/boundschecking.hh
+6
-0
6 additions, 0 deletions
dune/common/boundschecking.hh
with
6 additions
and
0 deletions
dune/common/boundschecking.hh
+
6
−
0
View file @
c9f627ee
...
...
@@ -11,6 +11,12 @@
DUNE_THROW(Dune::RangeError, "Index out of bounds."); \
} while (false)
#else
/**
If `DUNE_CHECK_BOUNDS` is defined: check if a condition holds;
otherwise, do nothing. 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.
*/
#define DUNE_ASSERT_BOUNDS(cond)
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment