DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Nov 11 12:06:25 UTC 2019


On Monday, 11 November 2019 at 10:27:26 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community 
> Review for DIP 1025, "Dynamic Arrays Only Shrink, Never Grow":

«The author is unaware of any slices in other languages that 
don't also carry a .capacity property to keep track of how much 
the slice can grow before it must be reallocated.»

C++20 span:

https://en.cppreference.com/w/cpp/container/span

Maybe you can achieve binary compatibility, somehow.



More information about the Digitalmars-d mailing list