#include <iostream>
#include <string>
#include <vector>
using namespace std;
struct Character { string name; };
template<typename T>
using Array = vector<T>;
#define add push_back
auto copy_string(const char* s) { return string(s); }
int main() {
Array<Character*> people;
[&people] {
auto character = new Character();
character->name = copy_string("Larry");
people.add(character);
}();
cout << people[0]->name << endl;
delete people[0];
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnN0cnVjdCBDaGFyYWN0ZXIgeyBzdHJpbmcgbmFtZTsgfTsKCnRlbXBsYXRlPHR5cGVuYW1lIFQ+CnVzaW5nIEFycmF5ID0gdmVjdG9yPFQ+OwoKI2RlZmluZSBhZGQgcHVzaF9iYWNrCgphdXRvIGNvcHlfc3RyaW5nKGNvbnN0IGNoYXIqIHMpIHsgcmV0dXJuIHN0cmluZyhzKTsgfQoKaW50IG1haW4oKSB7CiAgICBBcnJheTxDaGFyYWN0ZXIqPiBwZW9wbGU7CiAgICAKICAgIFsmcGVvcGxlXSB7CiAgICAgICAgYXV0byBjaGFyYWN0ZXIgPSBuZXcgQ2hhcmFjdGVyKCk7CiAgICAgICAgY2hhcmFjdGVyLT5uYW1lID0gY29weV9zdHJpbmcoIkxhcnJ5Iik7CiAgICAgICAgcGVvcGxlLmFkZChjaGFyYWN0ZXIpOwogICAgfSgpOwogICAgCiAgICBjb3V0IDw8IHBlb3BsZVswXS0+bmFtZSA8PCBlbmRsOwoJZGVsZXRlIHBlb3BsZVswXTsKfQo=