inferred size for static array initialization
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 2 16:40:35 PDT 2016
On 5/2/16 4:14 PM, Namespace wrote:
> I used it very often, but always assigned the result to an auto-type
> variable, never to a slice.
Using auto is fine, but the slice should not happen if you are assigning
slice to a local var. There is a bug report on this:
https://issues.dlang.org/show_bug.cgi?id=12625, though it's not as
focused as I think it should be.
-Steve
More information about the Digitalmars-d-learn
mailing list