s passed as a const reference, min_ is now of type T