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

Checks whether a type is an aggregate and derived from Edge\<I\>. More...

#include <concepts.h>

Concept definition

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

Detailed Description

Checks whether a type is an aggregate and derived from Edge\<I\>.

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

Definition at line 98 of file concepts.h.