#include #include // We want two pointers that point to the same thing! int main(int argc, char** argv) { std::unique_ptr x(new int(5)); std::unique_ptr y(x.get()); return EXIT_SUCCESS; }