4.1 window shared_ptr