std::pair<std::vector<float> , float> best(std::vector<float>(0.0),-1.0/0.0); 是未定义行为,部分编译器不允许该操作
std::pair<std::vector , float> best(std::vector(0.0),-1.0/0.0);
是未定义行为,部分编译器不允许该操作