On 1/20/22 15:10, Ali Çehreli wrote:

> void foo(const int[]) {}      // Idiomatic

As H. S. Teoh would add at this point, that is not idiomatic but the following are (with different meanings):

void foo(const(int)[]) {}      // Idiomatic
void foo(const(int[])) {}      // Idiomatic

> void foo(in int[]) {}         // Intentful :)

I still like that one. :)

Ali

Reply via email to