#include <iostream>
#include <string>
struct ABC
{
std::string str;
unsigned int id=0; // in class member initializer
};
int main()
{
ABC abc{"hi", 0};
std::cout << abc.str << " " << abc.id << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgpzdHJ1Y3QgQUJDCnsKICAgIHN0ZDo6c3RyaW5nIHN0cjsKICAgIHVuc2lnbmVkIGludCBpZD0wOyAvLyBpbiBjbGFzcyBtZW1iZXIgaW5pdGlhbGl6ZXIKfTsKCmludCBtYWluKCkKewogICAgQUJDIGFiY3siaGkiLCAwfTsKICAgIHN0ZDo6Y291dCA8PCBhYmMuc3RyIDw8ICIgIiA8PCBhYmMuaWQgPDwgICBzdGQ6OmVuZGw7CiAgICByZXR1cm4gMDsKfQ==