2 ms·unique_ptr allows for use-after-move, so it's not perfect.by saagarjha 6y agounique_ptr allows for use-after-move, so it's not perfect.