Skip to content

num::structures::debug::check_vertex_bounds

Defined in header <structures/debug.hpp>

template <std::integral Index>
void check_vertex_bounds(Index u, Index n_vertices,
                         std::string_view label = "graph::vertex",
                         std::source_location loc = std::source_location::current());

Verify vertex index is within graph vertex range [0, n_vertices).