GraphLib
Bearbeitung der Aufgabe Mini Graph Library für OOP WiSe 2023/24
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1#ifndef GRAPHLIB_INTERNAL_UTIL_H
2#define GRAPHLIB_INTERNAL_UTIL_H
3
10
11namespace GraphLib::Internal {
12
22template <typename P, typename T>
26
34
43 bool operator>(const PriorityPair& right) const
44 {
45 return priority > right.priority;
46 }
47};
48
49} // namespace GraphLib::Internal
50
51#endif
PriorityPair(P priority, T value)
Constructs a PriorityPair with given priority and value.
Definition util.h:33
bool operator>(const PriorityPair &right) const
Greater-than operator comparing by priority.
Definition util.h:43