|
Graphle 1.0.0
A C++20 header-only graph library
|
Functions | |
| template<typename Vertex , typename IsDirected , typename GetVertices , typename GetEdges , typename GetOutEdges , typename GetInEdges > | |
| consteval auto | graphle::detail::graph_constraints_check (void) |
| consteval auto graphle::detail::graph_constraints_check | ( | void | ) |
Checks the constraints for graph types and returns an error type if said constraints are not fulfilled. This is used to make the error part of the graph's type, as the compiler can't be bothered to say which constraint is not satisfied.
Unless GRAPHLE_NO_STATIC_ASSERT is defined, this method will trigger a static_assert if one of the constraint checks fails.
Definition at line 62 of file constraint_debug_helper.hpp.