Just a friendly reminder about using arrays in boolean conditions

Nick Treleaven nick at geany.org
Mon Nov 18 15:43:56 UTC 2024


On Monday, 18 November 2024 at 15:39:38 UTC, Dom DiSc wrote:
> If I were to implement arrays, I would use a simple pointer, 
> and length would be the first element of the allocated block.

That wouldn't allow efficient slicing.


More information about the Digitalmars-d mailing list