<div dir="ltr">Hi Kristofer,<br><br><div class="gmail_quote"><div dir="ltr">On Tue, 23 Oct 2018 at 13:30, Kristofer Krus <<a href="mailto:kristofer.krus@liu.se">kristofer.krus@liu.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, that's clever. So the observer_ptr basically acts like ref_ptr when it comes to the ObserverSet object and deletes that object when the last observer_ptr object is destructed? :D <br></blockquote><div><br></div><div>Yep, that's the idea.  The ObseverSet sticks around till the last Referenced object or the last observer_ptr/Observer unref's.<br></div><div><br></div><div>Robert.<br></div><div> </div></div></div>