[Issue 9165] Auto conversion from dynamic array to fixed size array at return
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 7 04:09:19 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=9165
Nick Treleaven <ntrel-pub at mybtinternet.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ntrel-pub at mybtinternet.com
--- Comment #2 from Nick Treleaven <ntrel-pub at mybtinternet.com> ---
This pull at least allows it to be done non-automatically from any range:
int[5] = only(1,2,3,4,5).staticArray!5;
https://github.com/D-Programming-Language/phobos/pull/4090
--
More information about the Digitalmars-d-bugs
mailing list