If I have a unique pointer and I took a pointer to the something owned by unique_ptr:
auto t = std::make_unique<int>(67);
auto m = t.get();
auto d = std::move(t);
std::cout << *m;
I know m will be valid until t is modified or destroyed.
But when I move ownership from t, m is still valid.
Could someone make me understand what happens here or what standard says about this.