https://issues.dlang.org/show_bug.cgi?id=16252
Igor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Igor <[email protected]> --- Would it work if we allow copying in this case but reserve first few bytes from allocated memory to count references to it so we can only free it when count says there are no more references to it. I think we would just need to increment count on postBlit and decrement it in destructor and opAssign. Something like what I did here in my implementation of SharedRegion: https://github.com/igor84/dngin/blob/master/source/util/allocators.d#L176 --
