Trying to understand a simple piece of code: dmd barray

Dibyendu Majumdar mobile at
Sat Mar 7 12:05:39 UTC 2020


I am trying to understand

Two questions:

1. What does this mean and why is it needed?

line 95: alias array this;

2. The struct has no property called length - but this is 
referenced. Where does this come from?

Thank you


More information about the Digitalmars-d-learn mailing list