On 04/27/2014 01:32 AM, bearophile wrote:
If I am not missing some more point, what is the best solution?Before this question gets lost, I'd like to receive some kind of answer. Thank you, bearophile
The front end already distinguishes dynamic and static array literals (in a limited form), this distinction should simply carry through to code generation and static array literals should be allowed in @nogc code.
