digitalmars.D.bugs - [Issue 1317] New: Document suggested means of overlapping array copy
- d-bugmail puremagic.com (19/19) Jul 05 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1317
- d-bugmail puremagic.com (6/6) Jul 07 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1317
http://d.puremagic.com/issues/show_bug.cgi?id=1317 Summary: Document suggested means of overlapping array copy Product: D Version: unspecified Platform: PC URL: http://www.digitalmars.com/d/arrays.html OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: jlquinn us.ibm.com The docs on arrays has a section on copying arrays using slice notation. It rules out overlapping copies. Since you can't do this, there should be a suggested method of doing that - a pointer to memcpy(), using concatenation, open-coding the loop, a Phobos library call, etc. Related to #473. --
Jul 05 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1317 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement --
Jul 07 2007