1#ifndef DUNE_BOUNDSCHECKING_HH
2#define DUNE_BOUNDSCHECKING_HH
6#ifndef DUNE_ASSERT_BOUNDS
7#ifdef DUNE_CHECK_BOUNDS
8#define DUNE_ASSERT_BOUNDS(cond) \
11 DUNE_THROW(Dune::RangeError, "Index out of bounds."); \
20#define DUNE_ASSERT_BOUNDS(cond)
A few common exception classes.