But bar([1, 2, 3]); not. The compiler does not realize that [1,
2, 3] means a static array in this context.
You have to write bar(cast(int[3]) [1, 2, 3]); but I think the
compiler have to recognize this on it's own.
- templated static array Namespace
- Re: templated static array Simen Kjaeraas
- Re: templated static array Simen Kjaeraas
- Re: templated static array Namespace
- Re: templated static array Simen Kjaeraas
- Re: templated static array H. S. Teoh
- Re: templated static array Kenji Hara
- Re: templated static array Namespace
- Re: templated static array bearophile
- Re: templated static array Namespace