函数模板 函数模板是一个通用的函数,它的特定参数/返回值类型可以是int or double. By passing a type as a parameter to a template, you cause the compiler to generate a function for that particular type.