July 05, 2007 [Issue 1317] New: Document suggested means of overlapping array copy | ||||
---|---|---|---|---|
| ||||
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. -- |
July 08, 2007 [Issue 1317] Document suggested means of overlapping array copy | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1317 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement -- |
Copyright © 1999-2021 by the D Language Foundation