how do you mix ref counted types and non- at nogc algorithms

Kagamin spam at here.lot
Fri Jul 10 07:58:24 UTC 2020


On Wednesday, 8 July 2020 at 11:26:20 UTC, ikod wrote:
> Right now I have to avoid something like my_data.splitOn(), but 
> is there any better solution?

You can lend a weak reference to GC structure, its lifetime will 
be shorter than that of remaining strong references.


More information about the Digitalmars-d mailing list