Setting array length without initializing/reallocating.

Mike Parker aldacron at gmail.com
Mon Dec 14 01:36:02 UTC 2020


On Sunday, 13 December 2020 at 20:03:46 UTC, Jackson22 wrote:
>
> There's a reason .ptr exist, I wish people would stop 
> pretending that using it where it is appropriate is somehow 
> going to lead to failure when there are more successful 
> programming languages that have zero automatic bounds checking.
>

There's no pretending here. What the OP is doing *is* dangerous.


More information about the Digitalmars-d mailing list