What's the point of static arrays ?

wjoe invalid at example.com
Fri Jul 10 15:08:14 UTC 2020


On Friday, 10 July 2020 at 14:20:15 UTC, wjoe wrote:
> On Friday, 10 July 2020 at 10:47:49 UTC, psycha0s wrote:
>> On Friday, 10 July 2020 at 10:13:23 UTC, wjoe wrote:
> A static array resides in this memory (with a fixed length, so 
> a length needn't be stored because bounds can be checked at 
> compile time) if declared as a variable and is accessed via 
> stack pointer and offset.

resides is the wrong word again, sorry.

A static array is mapped into stack memory...




More information about the Digitalmars-d-learn mailing list