Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
graphle::edge_value_getter Concept Reference

#include <graph_concepts.hpp>

Concept definition

template<typename F, typename Vertex, typename Value>
std::convertible_to<Value, std::invoke_result_t<F, std::pair<Vertex*, Vertex*>>>

Detailed Description

Concept for a function object that accepts an edge (A pair of pointers to vertices) and returns a value for said edge.

Template Parameters
FA function object type.
VertexThe vertex type.
ValueThe type of value returned by F.

Definition at line 78 of file graph_concepts.hpp.