[Issue 4761] std.array.mul()

2016-08-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4761 greenify changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4761] std.array.mul()

2016-08-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4761 Cauterite changed: What|Removed |Added CC||cauter...@gmail.com ---

[Issue 4761] std.array.mul()

2015-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4761 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Comment

[Issue 4761] std.array.mul()

2010-09-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4761 --- Comment #2 from bearophile_h...@eml.cc 2010-09-01 14:35:02 PDT --- A more general version: import std.traits: isArray, Unqual; /// ... T mul(T)(T items, int times) if(isArray!T) { alias Unqual!(typeof(items[0])) E; // dangerous?

[Issue 4761] std.array.mul()

2010-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4761 --- Comment #1 from bearophile_h...@eml.cc 2010-08-29 15:44:13 PDT --- This mul() needs more work, to be used on const arrays too. If you are interested, I may try to write this improvement. If the given array is one of the string types, it