1 2 3 4 5 6 7 8
#include <cstdio> #include <memory> int main() { std::unique_ptr<int> u(new int(0)); return *u; }