On Wednesday, 12 July 2017 at 12:20:11 UTC, Miguel L wrote: > What is the best way in D to create a function that receives a > static array of any length? Templatize the array length: void foo(size_t length)(int[length] arr) { }