| 529 | |
| 530 | template <class I, class F> |
| 531 | constexpr I MinElementBy(I begin, I end, F&& func) { |
| 532 | using TValue = decltype(func(*begin)); |
| 533 | return ::NPrivate::ExtremeElementBy(begin, end, std::forward<F>(func), TLess<TValue>()); |
| 534 | } |
| 535 | |
| 536 | template <class C, class F> |
| 537 | constexpr auto MinElementBy(C& c, F&& func) { |
no test coverage detected