Author: Jan Wilmans
std::shared_ptr<> broken?
Some time ago, I had an object whose ownership I wanted to share. Here is a very contrived example: Two threads use Bar: one only reads values and occasionally updates the screen, the other updates values as they come in. I had learned from Herb…