#include <iostream>
struct foo {
static constexpr int32_t kTrackDefault = -2;
int32_t a = 0;
int32_t b = kTrackDefault;
};
int main()
{
auto bar = foo();
auto baz = foo({.a = 10, .b = 20});
std::cout << bar.a << " "<< bar.b << std::endl;
std::cout << baz.a << " "<< baz.b << std::endl;
std::cout << foo::kTrackDefault << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RydWN0IGZvbyB7CglzdGF0aWMgY29uc3RleHByIGludDMyX3Qga1RyYWNrRGVmYXVsdCA9IC0yOwogICAgaW50MzJfdCBhID0gMDsKICAgIGludDMyX3QgYiA9IGtUcmFja0RlZmF1bHQ7CiB9OwogCiBpbnQgbWFpbigpCiB7CiAJYXV0byBiYXIgPSBmb28oKTsKIAlhdXRvIGJheiA9IGZvbyh7LmEgPSAxMCwgLmIgPSAyMH0pOwoKICAgIHN0ZDo6Y291dCA8PCBiYXIuYSA8PCAiICI8PCBiYXIuYiA8PCBzdGQ6OmVuZGw7CiAgICBzdGQ6OmNvdXQgPDwgYmF6LmEgPDwgIiAiPDwgYmF6LmIgPDwgc3RkOjplbmRsOwogICAgc3RkOjpjb3V0IDw8IGZvbzo6a1RyYWNrRGVmYXVsdCA8PCBzdGQ6OmVuZGw7CgogICAgcmV0dXJuIDA7CiB9