| 40 | |
| 41 | template <typename T, typename U, std::enable_if_t<!(std::is_signed<T>::value ^ std::is_signed<U>::value), int> = 0> |
| 42 | std::common_type_t<T, U> AbsDifference(T const a, U const b) |
| 43 | { |
| 44 | return a >= b ? a - b : b - a; |
| 45 | } |
| 46 | |
| 47 | bool PassesRestriction(Graph::Edge const & e, FunctionalRoadClass restriction, FormOfWay formOfWay, int frcThreshold, |
| 48 | RoadInfoGetter & infoGetter); |
no outgoing calls
no test coverage detected