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());

Check that a vertex is in range: \(0 \le v < |V|\).