65,189
社区成员




#include <iostream>
#include <vector>
template<typename T>
inline T HighestAndLowest(T a, T b)
{
T tResult;
tResult.push_back(1.2);
tResult.push_back(1.3);
return tResult;
}
int main()
{
std::vector<double> a;
std::vector<double> b;
std::vector<double> x = HighestAndLowest(a, b);
std::cout << x[0] << std::endl;
return 0;
}