Originally Posted by
kmdv
Hm, in my expierience I noticed, that whenever I attempted to use a non-copyable smart pointer, sooner or later I missed that feature and got back to the shared. From my point of view, they are useless as data members because they make the whole class non-copyable. And when it comes to buffers, I use STL container or bare instance (what is point of allocating a single object on heap?), or an own raw vector class for raw data. The only case I would use it would be to make it a result variable. But again, if I return it, I probably copy it somewhere else too.
So my unique_ptr usage is downgraded to the level I do not use it at all.
And I might be wrong, but weak_ptr can't be used with scoped_ptr / unique_ptr?