March 26, 2014 [phobos] [D-Programming-Language/phobos] 782441: Fixup for 9975: swap and pointsTo | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 782441ee1dbb9a6f73a336c694822f152fcf3960 https://github.com/D-Programming-Language/phobos/commit/782441ee1dbb9a6f73a336c694822f152fcf3960 Author: monarch dodra <monarchdodra@gmail.com> Date: 2014-03-25 (Tue, 25 Mar 2014) Changed paths: M std/algorithm.d Log Message: ----------- Fixup for 9975: swap and pointsTo Fixing 9975 revealed that checking `pointsTo` was creating problems in swap for legitimate use cases. This is because: 1. pointsTo can sometimes create "false positives" 2. Internal pointing is not outright forbidden, it is just that the runtime is allowed to make the assumption they don't exist. While swapping aliasing objects is a sign of stink, it should still "just work". Commit: 4e4f73b646b51a8a1fa2f2605621469a3e6c2cd7 https://github.com/D-Programming-Language/phobos/commit/4e4f73b646b51a8a1fa2f2605621469a3e6c2cd7 Author: monarch dodra <monarchdodra@gmail.com> Date: 2014-03-25 (Tue, 25 Mar 2014) Changed paths: M std/algorithm.d Log Message: ----------- Remove pointsTo in move as well as remove erroneous documentation. Commit: 05b60c2492ec0b31c5355c4c625bb29436be53f7 https://github.com/D-Programming-Language/phobos/commit/05b60c2492ec0b31c5355c4c625bb29436be53f7 Author: Dmitry Olshansky <dmitry.olsh@gmail.com> Date: 2014-03-27 (Thu, 27 Mar 2014) Changed paths: M std/algorithm.d Log Message: ----------- Merge pull request #1390 from monarchdodra/swapPointsTo Fixup for 9975: swap and pointsTo Compare: https://github.com/D-Programming-Language/phobos/compare/68c6379e46d7...05b60c2492ec |
Copyright © 1999-2021 by the D Language Foundation