Quote Originally Posted by Xarx View Post
Bjarne,

> For almost all uses, I prefer unique
> ownership as represented by unique_ptr.

You've mentioned an array of unique_ptr as an example in your articles. If this code would be in a library, it would prevent IMO the library users to put an objects from the array aside, because the object wouldn't survive the array. And the programmers wouldn't be able to do anything about it - due encapsulation.
Martin.
I don't understand which problem you could be referring to.