www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Array of RefCounted objects

Has anyone used RefCounted with arrays before?  Do the array element
dtors get called properly upon GC collection?  Just wondering if I
should wrap such arrays in a wrapper with more clearly-defined lifetime.
I'm aware that RefCounted has its own share of issues, but it's the
quickest thing to reach for at the moment.


T

-- 
I am a consultant. My job is to make your job redundant. -- Mr Tom
Apr 25 2019