| 50 | |
| 51 | template <typename T, typename F> |
| 52 | bool ForAnyPoint(T && t, F && f) |
| 53 | { |
| 54 | using Type = RemoveCvrefT<T>; |
| 55 | if constexpr (std::is_same_v<Type, FeatureBuilder>) |
| 56 | return t.ForAnyPoint(f); |
| 57 | if constexpr (std::is_same_v<Type, std::vector<m2::PointD>>) |
| 58 | return base::AnyOf(t, f); |
| 59 | if constexpr (std::is_same_v<Type, m2::PointD>) |
| 60 | return f(t); |
| 61 | |
| 62 | UNREACHABLE(); |
| 63 | } |
| 64 | |
| 65 | template <typename T, typename F> |
| 66 | void ForEachPoint(T && t, F && f) |
no test coverage detected