Any plans to support STL value types?

QAston via Digitalmars-d digitalmars-d at puremagic.com
Sat May 16 05:21:59 PDT 2015


On Saturday, 16 May 2015 at 09:20:37 UTC, Kagamin wrote:
> Currently D frontend can't use such idiom: it has classes, 
> which support inheritance, but are reference types, it also has 
> structs, which don't support inheritance and are value types, 
> and they don't mix.

In this case inheritance is just a code/structure sharing tool. D 
has mixins and alias this to do that.


More information about the Digitalmars-d mailing list