#include <iostream>
struct Yoba
{
Yoba(int a_) : a(a_) { }
int a;
};
Yoba yoba_factory(int a)
{
return std::move(Yoba(a));
}
int main() {
Yoba maliyoba = yoba_factory(5);
std::cout << "a = " << maliyoba.a;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RydWN0IFlvYmEKewoJWW9iYShpbnQgYV8pIDogYShhXykgeyB9CglpbnQgYTsKfTsKCllvYmEgeW9iYV9mYWN0b3J5KGludCBhKQp7CglyZXR1cm4gc3RkOjptb3ZlKFlvYmEoYSkpOwp9CgppbnQgbWFpbigpIHsKCQoJWW9iYSBtYWxpeW9iYSA9IHlvYmFfZmFjdG9yeSg1KTsKCQoJc3RkOjpjb3V0IDw8ICJhID0gIiA8PCBtYWxpeW9iYS5hOwoJCglyZXR1cm4gMDsKfQ==