| 107 | |
| 108 | template <typename T, typename Comp> |
| 109 | PriorityQueueEntry<T> * |
| 110 | PriorityQueue<T, Comp>::top() |
| 111 | { |
| 112 | if (empty()) { |
| 113 | return nullptr; |
| 114 | } else { |
| 115 | return _v[0]; |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | template <typename T, typename Comp> |
| 120 | void |
no outgoing calls
no test coverage detected