#include <iostream>
class CLASS_ {
public :
CLASS_() : data { 5, 6 } {}
CLASS_(int x, int y) : data { x, y } {}
struct DATA{
int x;
int y;
};
DATA data;
};
int main()
{
CLASS_ c1, c2(10, 20);
std::cout << c1.data.x << "," << c1.data.y << std::endl
<< c2.data.x << "," << c2.data.y << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgQ0xBU1NfIHsKcHVibGljIDoKICBDTEFTU18oKSA6IGRhdGEgeyA1LCA2IH0ge30KICBDTEFTU18oaW50IHgsIGludCB5KSA6IGRhdGEgeyB4LCB5IH0ge30KICBzdHJ1Y3QgREFUQXsKICAgIGludCB4OwogICAgaW50IHk7CiAgfTsKICBEQVRBIGRhdGE7Cn07CgppbnQgbWFpbigpCnsKICBDTEFTU18gYzEsIGMyKDEwLCAyMCk7CiAgc3RkOjpjb3V0IDw8IGMxLmRhdGEueCA8PCAiLCIgPDwgYzEuZGF0YS55IDw8IHN0ZDo6ZW5kbAogICAgICAgICAgICA8PCBjMi5kYXRhLnggPDwgIiwiIDw8IGMyLmRhdGEueSA8PCBzdGQ6OmVuZGw7Cn0K