On 29.09.2008 03:21, Jim Sager wrote:
> So if I call sndsource.Invalidate() and there is only one instance of 
> the smart pointer, it will basically do a delete.  What if there are two 
> instances of it, and you called Invalidate on one of them?  

I assume both point to the same object. Then the other instance will 
still hold a reference to that object, and it will not be freed. (That's 
the point of reference pointing after all ...)

-f.r.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to