Open alexey-malov opened 6 years ago
template <typename T, typename Less = std::less<T>> bool FindMaxEx(std::vector<T> const& arr, T& maxValue, Less const& less = Less())
<
bool LessWeight(Student const left, Student const right) { return (left.weight < right.weight); }
<
. Написать тест для этой ситуации.