When memory deallocation occur in the code below?
#include int main() { auto p = std::make_shared(5); std::weak_ptr<