On Thursday, 7 January 2021 at 13:03:54 UTC, Luhrel wrote:
I think that `int[$] a = [1, 2, 3]` is much more user-friendly.
```
auto a = [1,2,3].staticArray!ubyte
```


But what prevents you from writing your own library solution that works like this?

auto ints = mkarray(1,2,3,4,5);
auto floats = mkarray(1.0f,2,3,4,5);

etc

Reply via email to