So can unique_ptr be used safely in stl collections?
I think it’s more a question of philosophy than technic 🙂 The underlying question is what is the difference between Move and Copy. I won’t jump into technical / standardista language, let’s do it simply: Copy: create another identical object (or at least, one which SHOULD compare equal) Move: take an object and put it … Read more