I'm having trouble understanding the usage of smart pointers as class members in C++11. I have read a lot about smart pointers and I think I do understand how
shared_ptr/weak_ptrwork in general. What I don't understand is the real usage. It seems like everybody recommends using
unique_ptras the way to go almost all the time. But how would I implement something like this: ...