2 ms·unique_ptr does not track lifetimes in any way. Nothing in C++ does.by pcwalton 11y agounique_ptr does not track lifetimes in any way. Nothing in C++ does.