<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="https://sourceforge.net/p/pure-data/bugs/1282/">[bugs:#1282]</a> creating objects in a subpatch invalidates pointers to scalars</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> v0.47<br/>
<strong>Created:</strong> Tue Jan 03, 2017 11:24 AM UTC by Anonymous<br/>
<strong>Last Updated:</strong> Tue Jan 03, 2017 11:24 AM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>Hi, I'm aware that deleting a scalar from subpatch automatically invalidates all pointers to scalars residing in this subpatch (as an easy way to prevent stale pointers). <br/>
Is it desired behaviour that deleting an <em>object</em> also invalidates all pointers? Usually, deleting elements from a linked list shouldn't invalidate iterators to remaining elements. and since the deleted element is an <em>object</em>, there is no way a <span>[pointer]</span> could have pointed to it, so there's no need for preventing stale pointers...</p>
<p>Furthermore, <em>creating</em> an object (e.g <span>[+]</span>) will also invalidate all pointers. I wonder why? </p>
<p>Christof</p>
<hr/>
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="https://sourceforge.net/p/pure-data/bugs/">https://sourceforge.net/p/pure-data/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/pure-data/admin/bugs/options.">https://sourceforge.net/p/pure-data/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>