TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
Provides a way to check the bounds when accessing elements/slices of an array or a view.
Definition in file bound_check_worker.hpp.
Go to the source code of this file.
Functions | |
template<typename... Args> | |
void | nda::assert_in_bounds (int rank, long const *lengths, Args const &...args) |
Check if the given indices/arguments are within the bounds of an array/view. | |