#include <iostream>
struct ST {
int first, second, third;
} typedef ST;
ST get_struct_value() {
ST st;
st.first = 123;
st.second = 87;
st.third = 3;
return st;
}
int main() {
auto [x, y, z] = get_struct_value();
std::cout << x << ' ' << y << ' ' << z;
}
/*
run:
123 87 3
*/