Thread overview | |||||
---|---|---|---|---|---|
|
June 09, 2015 [Issue 8930] std.algorithm.remove only operates on hasLvalueElements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=8930 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |D2 -- |
April 30, 2016 [Issue 8930] std.algorithm.remove only operates on hasLvalueElements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=8930 Jon Degenhardt <jrdemail2000-dlang@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrdemail2000-dlang@yahoo.co | |m --- Comment #1 from Jon Degenhardt <jrdemail2000-dlang@yahoo.com> --- A related thread from the learn forum: https://forum.dlang.org/thread/pgkeyucvwalwcgmxwpdl@forum.dlang.org Example from the thread: char[] thing = ['a', 'b', 'c']; thing = thing.remove(1); The above does not compile. Switching to However, the following does: ubyte[] thing = ['a', 'b', 'c']; thing = thing.remove(1); Many users might expect remove to work on char[] also. It does work with dchar[] arrays. -- |
December 14, 2019 [Issue 8930] std.algorithm.remove only operates on hasLvalueElements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=8930 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@d-ecke.de Resolution|--- |WORKSFORME -- |
Copyright © 1999-2021 by the D Language Foundation