[Issue 4287] opOpAssign!("~=") for std.array.Appender

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 12 05:37:05 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=4287



--- Comment #3 from bearophile_hugs at eml.cc 2012-03-12 05:37:11 PDT ---
See a discussion thread here, where I have suggested to give Appenhder both
"put" method and a "~=" operator:

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=33135

http://forum.dlang.org/thread/jimj6f$1vq$1@digitalmars.com

Adam D. Ruppe:
> Another annoyance is if you have a function that works on
> regular arrays, you probably used ~=.
> But you decide to switch to Appender to try for a speed boost.
> Now you have to change all the usage too, since the
> interfaces are incompatible!

See other messages in the thread.

Adam D. Ruppe, James Miller, Sönke Ludwig and Timon Gehr seem to agree to add
the "~=" to Appender.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list