#include <memory>
std::unique_ptr<int> create_int()
{
return std::unique_ptr<int>(new int(4711));
}
int main()
{
auto my_int = create_int();
return 0;
}
I2luY2x1ZGUgPG1lbW9yeT4KCnN0ZDo6dW5pcXVlX3B0cjxpbnQ+IGNyZWF0ZV9pbnQoKQp7CglyZXR1cm4gc3RkOjp1bmlxdWVfcHRyPGludD4obmV3IGludCg0NzExKSk7Cn0KCmludCBtYWluKCkKewoJYXV0byBteV9pbnQgPSBjcmVhdGVfaW50KCk7CgoJcmV0dXJuIDA7Cn0=