The pull request of the day: 3998

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 7 10:58:40 PDT 2014


On Tuesday, 7 October 2014 at 17:36:24 UTC, Jonathan wrote:
> What are some "common uses" for multiple aliasing? I understand 
> the feature, but curious where it would be commonly employed.
>
> To me, this allows structs to have something like inheritance. 
> You add a property for another struct that acts like an 
> interface and alias that struct to the current one. Thoughts?

Multiple inheritance of implementation for structs + implicit 
casting in one basket


More information about the Digitalmars-d mailing list