Draft: Make the DUNE_ASSERT_BOUND macro constexpr friendly
Summary
This MR replaces the Dune::RangeError
exception by std::out_of_range
in the DUNE_ASSERT_BOUND
macro. The reason is, that Dune::Exception
is not usable in constexpr
contexts. A consequence is that now a different type of exception is thrown from operator[]
like methods in dune-common.