正确的类型应该是func函数的类型:int(int, int),这里显示为它的返回值的类型了。
改成 struct Sort { template <typename T> T& operator()(T& v) { sort(v.begin(), v...