[phobos] [D-Programming-Language/phobos] 8d9479: Fix Issue 12315 - `array` at compile-time with all...

GitHub noreply at github.com
Sun Mar 9 12:06:48 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 8d9479c3a4b1f3cb7738b27d90d92330c8d1f058
      https://github.com/D-Programming-Language/phobos/commit/8d9479c3a4b1f3cb7738b27d90d92330c8d1f058
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2014-03-09 (Sun, 09 Mar 2014)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Fix Issue 12315 - `array` at compile-time with all types

Problem was that `emplaceRef` calls `memcpy` for some types, which is unsafe and unavailable at compile time.

https://d.puremagic.com/issues/show_bug.cgi?id=12315


  Commit: 6b31fb8685b458f142db34ca21e5c9639e5cb38d
      https://github.com/D-Programming-Language/phobos/commit/6b31fb8685b458f142db34ca21e5c9639e5cb38d
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2014-03-09 (Sun, 09 Mar 2014)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Merge pull request #1986 from Poita/bug12315

Fix Issue 12315 - `array` at compile-time with all types


Compare: https://github.com/D-Programming-Language/phobos/compare/b7c5ac8fb604...6b31fb8685b4


More information about the phobos mailing list