Proposal : aggregated dlang git repository

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 11 09:55:42 PST 2015


On 11/02/2015 13:52, Dicebot wrote:
> Biggest problem with RefCounted is that it is a struct. Thus it is
> inherently incompatible with polymorphic world.

For Unique, (which admittedly is a simpler concept), it does work with 
polymorphic types, see:

http://dlang.org/phobos-prerelease/std_typecons.html#.Unique.this.3



More information about the Digitalmars-d mailing list