num::structures::debug::check_index_bounds¶
Defined in header <structures/debug.hpp>
template <std::integral Index>
void check_index_bounds(Index index, Index capacity, std::string_view label = "Index",
std::source_location loc = std::source_location::current());
Check that an index is in range: \(0 \le i < \mathrm{capacity}\).