[phobos] [D-Programming-Language/phobos] aefe7e: implement moveEmplace

GitHub via phobos phobos at puremagic.com
Thu Aug 6 13:58:34 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: aefe7e55578933c3eda6e8c060f03dcd934caf2c
      https://github.com/D-Programming-Language/phobos/commit/aefe7e55578933c3eda6e8c060f03dcd934caf2c
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M std/algorithm/mutation.d

  Log Message:
  -----------
  implement moveEmplace

- combined move and emplace

- moves a value and emplaces it into an
  uninitialized value of the same type

- more efficient than init + move


  Commit: 980351894bb805cc8ad823a0516f23bc66f8775d
      https://github.com/D-Programming-Language/phobos/commit/980351894bb805cc8ad823a0516f23bc66f8775d
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M std/algorithm/mutation.d

  Log Message:
  -----------
  make move and moveEmplace attribute correct

- moveEmplace is unsafe (@system)
- move inherits attributes from T's destructor


  Commit: d4d301b35cd82558e5d70af16f5746ecc5c2bc0c
      https://github.com/D-Programming-Language/phobos/commit/d4d301b35cd82558e5d70af16f5746ecc5c2bc0c
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M std/algorithm/mutation.d

  Log Message:
  -----------
  add moveEmplaceAll and moveEmplaceSome variant

- similar to their moveAll and moveSome counterparts
  but assume that target is an uninitialized range


  Commit: b66faeea912fe7695428feeb1e7da1df2d500288
      https://github.com/D-Programming-Language/phobos/commit/b66faeea912fe7695428feeb1e7da1df2d500288
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    R changelog.dd

  Log Message:
  -----------
  remove old phobos changelog.dd


  Commit: 25611d1edcce0c79d3296e273aa21c832cfd2592
      https://github.com/D-Programming-Language/phobos/commit/25611d1edcce0c79d3296e273aa21c832cfd2592
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M .gitignore
    A changelog.dd
    M posix.mak
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  add new phobos changelog.dd

- intendend to just contain the things for the upcoming release
- will be copied into dlang.org and cleared prior to a release
- no stylesheet frills or complicated dlang.org integration
  looks OKish enough and uses same macros as dlang.org


  Commit: 3ccea802ba0302d5290a3b7a8d152739d1e5877a
      https://github.com/D-Programming-Language/phobos/commit/3ccea802ba0302d5290a3b7a8d152739d1e5877a
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M std/algorithm/mutation.d

  Log Message:
  -----------
  test moveAll with input range


  Commit: 605fed67ba831b12af9dbfc82957162b59ba35fb
      https://github.com/D-Programming-Language/phobos/commit/605fed67ba831b12af9dbfc82957162b59ba35fb
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2015-08-06 (Thu, 06 Aug 2015)

  Changed paths:
    M .gitignore
    M changelog.dd
    M posix.mak
    M std/algorithm/mutation.d
    M win32.mak
    M win64.mak

  Log Message:
  -----------
  Merge pull request #3527 from MartinNowak/moveEmplace

moveEmplace


Compare: https://github.com/D-Programming-Language/phobos/compare/6681862b4e3a...605fed67ba83


More information about the phobos mailing list