[Issue 8008] Syntax for fixed size array literals like [1,2,3]s
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Dec 27 11:23:25 PST 2014
https://issues.dlang.org/show_bug.cgi?id=8008
--- Comment #12 from bearophile_hugs at eml.cc ---
(In reply to Nick Treleaven from comment #8)
> Yes, but this is already pervasive in Phobos.
I suggest to not make the situation worse.
> Probably not noticeably.
I don't believe this much. They are all templates with different length and
type, and array literals are everywhere.
> Inlining small template functions by default might be nice,
This ER isn't asking for a template function.
Don't try to replace features that should be built-in with tons of templates,
you end like the std.typecons.Tuple fiasco.
--
More information about the Digitalmars-d-bugs
mailing list