March 19, 2015 [phobos] [D-Programming-Language/phobos] a4f1cb: fix Issue 14300 - DList casting to base type is br... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: a4f1cb07d2d0a5efe8f1ad9684c50f89a6080d37 https://github.com/D-Programming-Language/phobos/commit/a4f1cb07d2d0a5efe8f1ad9684c50f89a6080d37 Author: Martin Nowak <code@dawg.eu> Date: 2015-03-20 (Fri, 20 Mar 2015) Changed paths: M std/container/dlist.d Log Message: ----------- fix Issue 14300 - DList casting to base type is broken - All insert methods should take `auto ref T t` instead of `Stuff t`, because the latter is an unnecessary temporary if `Stuff` isn't `T`. - Small, copyable, register sized Ts should always be passed by-value instead of auto ref. Commit: 602dff55a78029930a918b5f96d79f7697bfd65c https://github.com/D-Programming-Language/phobos/commit/602dff55a78029930a918b5f96d79f7697bfd65c Author: Walter Bright <walter@walterbright.com> Date: 2015-03-19 (Thu, 19 Mar 2015) Changed paths: M std/container/dlist.d Log Message: ----------- Merge pull request #3082 from MartinNowak/fix14300 fix Issue 14300 - DList casting to base type is broken Compare: https://github.com/D-Programming-Language/phobos/compare/392fb2475ab1...602dff55a780 |
Copyright © 1999-2021 by the D Language Foundation