#include <iostream>
#include <memory>
int main() {
int x = 5;
auto del = [](int * p) { std::cout << "Deleting x, value is : " << *p; };
std::unique_ptr<int, decltype(del)> px(&x, del);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWVtb3J5PgoKaW50IG1haW4oKSB7CglpbnQgeCA9IDU7CiAgICBhdXRvIGRlbCA9IFtdKGludCAqIHApIHsgc3RkOjpjb3V0IDw8ICJEZWxldGluZyB4LCB2YWx1ZSBpcyA6ICIgPDwgKnA7IH07CiAgICBzdGQ6OnVuaXF1ZV9wdHI8aW50LCBkZWNsdHlwZShkZWwpPiBweCgmeCwgZGVsKTsKfQ==