#include <iostream>
#include <string>
#include <tuple>
std::tuple<int, double, std::string> f() {
return std::make_tuple(1, 2.3, "456");
}
int main() {
auto[x, y, z] = f(); // x,y,z 分别被推导为int,double,std::string
std::cout << x<< y<< z << std::endl;
}
--
FROM 111.205.43.*