[phobos] [D-Programming-Language/phobos] a6a687: fix Issue 14432 - move construction for RefCounted

GitHub via phobos phobos at puremagic.com
Mon Apr 20 06:44:21 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: a6a6870beb69537f2ccd3d50289594ebae30ad15
      https://github.com/D-Programming-Language/phobos/commit/a6a6870beb69537f2ccd3d50289594ebae30ad15
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  fix Issue 14432 - move construction for RefCounted

- add RefCounted!T.this(T) which takes an RValue or a copy
  and use move to initialized the refcounted store

- add refCounted to infer T from the argument and disable
  RefCounted's autoInit, also move initializes the store


  Commit: 74a219976016a9c7090488dc4a2c2b33bbf08fc4
      https://github.com/D-Programming-Language/phobos/commit/74a219976016a9c7090488dc4a2c2b33bbf08fc4
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-04-10 (Fri, 10 Apr 2015)

  Changed paths:
    M std/typecons.d

  Log Message:
  -----------
  use onOutOfMemoryError instead of enforce


  Commit: 1e19a4f7135e518cb6a445d93057ee03ca57e80f
      https://github.com/D-Programming-Language/phobos/commit/1e19a4f7135e518cb6a445d93057ee03ca57e80f
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M std/algorithm/mutation.d
    M std/typecons.d

  Log Message:
  -----------
  use typeid(T).init() to reset moved value


  Commit: f7498ad8ec147114b1bcbc61d0e4db3e033417f5
      https://github.com/D-Programming-Language/phobos/commit/f7498ad8ec147114b1bcbc61d0e4db3e033417f5
  Author: JakobOvrum <JakobOvrum at users.noreply.github.com>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M std/algorithm/mutation.d
    M std/typecons.d

  Log Message:
  -----------
  Merge pull request #3171 from MartinNowak/refCounted

fix Issue 14432 - move construction for RefCounted


Compare: https://github.com/D-Programming-Language/phobos/compare/41d116261903...f7498ad8ec14


More information about the phobos mailing list