Referencer

HaraldZealot via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 23 08:15:08 PST 2015


On Monday, 23 November 2015 at 15:35:32 UTC, Jonathan M Davis 
wrote:
>
> Well, if all you want is to get a reference type out of a value 
> type, then putting it on the heap and using a pointer to it 
> would be a solution. Using RefCounted would be another, and I 
> would think that it would be similar to what you're trying to 
> do, since what you're trying to do sounds like it would be 
> something like a RefCounted that doesn't actually involve 
> reference counting.

Hmm, interesting. I'm looking deeper to `RefCounted`




More information about the Digitalmars-d mailing list