How exactly does Tuple work?

Adam D. Ruppe destructionator at gmail.com
Sun Nov 8 14:03:59 UTC 2020


On Sunday, 8 November 2020 at 13:57:08 UTC, Jan Hönig wrote:
> So it's like inheritance resolved at compile time. It's 
> inheritance with virtual member functions without overhead.
> I am guessing only one alias works.
>
> And we use this, because struct can't do inheritance and 
> interface is abstract.

yeah, basically.


More information about the Digitalmars-d-learn mailing list