#include <memory>
struct A{
};
void f(std::unique_ptr<A> p, std::unique_ptr<A> p2){
}
int main(){
// f(std::unique_ptr<A>(new A()), std::unique_ptr<A>(new A()));
f([&](){return std::unique_ptr<A>(new A());}(), [&](){return std::unique_ptr<A>(new A());}());
return 0;
}
I2luY2x1ZGUgPG1lbW9yeT4KCnN0cnVjdCBBewp9Owp2b2lkIGYoc3RkOjp1bmlxdWVfcHRyPEE+IHAsIHN0ZDo6dW5pcXVlX3B0cjxBPiBwMil7Cn0KaW50IG1haW4oKXsKLy8gZihzdGQ6OnVuaXF1ZV9wdHI8QT4obmV3IEEoKSksIHN0ZDo6dW5pcXVlX3B0cjxBPihuZXcgQSgpKSk7CiAgIGYoWyZdKCl7cmV0dXJuIHN0ZDo6dW5pcXVlX3B0cjxBPihuZXcgQSgpKTt9KCksIFsmXSgpe3JldHVybiBzdGQ6OnVuaXF1ZV9wdHI8QT4obmV3IEEoKSk7fSgpKTsKICAgcmV0dXJuIDA7Cn0=