#include <iostream>
struct A {
A(int _a, double _b, char _c)
{
a = _a;
b = _b;
c = _c;
}
int a;
double b;
char c;
};
std::ostream& operator<<(std::ostream& os, const A& a)
{
os << a.a << ' ' << a.b << ' ' << a.c;
return os;
}
int
main()
{
A a{1, 3.2, 'c'};
std::cout << a;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RydWN0IEEgewoJQShpbnQgX2EsIGRvdWJsZSBfYiwgY2hhciBfYykKCXsKCQlhID0gX2E7CgkJYiA9IF9iOwoJCWMgPSBfYzsKCX0KCWludCBhOwoJZG91YmxlIGI7CgljaGFyIGM7Cn07CgpzdGQ6Om9zdHJlYW0mIG9wZXJhdG9yPDwoc3RkOjpvc3RyZWFtJiBvcywgY29uc3QgQSYgYSkKewoJb3MgPDwgYS5hIDw8ICcgJyA8PCBhLmIgPDwgJyAnIDw8IGEuYzsKCXJldHVybiBvczsKfQoKaW50Cm1haW4oKQp7CglBIGF7MSwgMy4yLCAnYyd9OwoJc3RkOjpjb3V0IDw8IGE7Cn0K