Inferring static array size

electricface electricface at qq.com
Tue Apr 30 02:20:39 UTC 2024


On Sunday, 28 April 2024 at 16:08:11 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> On 28/04/2024 10:17 PM, ryuukk_ wrote:
>> |_| should be enough
>
> ``_`` is a valid identifier that may point to a length.
>
> So that isn't usable.

I think it's better to represent the automatically calculated 
length using `..` .

```
int[..] a = [1,2,3,4,5]
```


More information about the dip.ideas mailing list