GraphLib
Bearbeitung der Aufgabe Mini Graph Library für OOP WiSe 2023/24
Loading...
Searching...
No Matches
GraphLib::Internal::valid_weighted_edge_type Concept Reference

Checks whether a type is an aggregate and derived from WeightedEdge<I, W>. More...

#include <concepts.h>

Concept definition

template<typename E, typename I>
concept GraphLib::Internal::valid_weighted_edge_type = std::is_aggregate_v<E> && requires {
typename E::id_type;
typename E::weight_type;
} && std::derived_from<E, WeightedEdge<I, typename E::weight_type>>
Checks whether a type is an aggregate and derived from WeightedEdge<I, W>.
Definition concepts.h:107

Detailed Description

Checks whether a type is an aggregate and derived from WeightedEdge<I, W>.

Template Parameters
EEdge type.
IID type used in the edge.

Definition at line 107 of file concepts.h.