Here I wanted to ask why we use ptr_fun here but mem_fun in other places? Cant we use ptr_fun everywhere? Or does it not autodisconnect?