[phobos] [D-Programming-Language/phobos] 3e9799: Fixup [un|minimally]InitializedArray

GitHub noreply at github.com
Fri Feb 14 08:03:41 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 3e97991dc7806c68af81b848b0540c354449810a
      https://github.com/D-Programming-Language/phobos/commit/3e97991dc7806c68af81b848b0540c354449810a
  Author: monarchdodra <monarchdodra at gmail.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Fixup [un|minimally]InitializedArray

Solves:
* http://d.puremagic.com/issues/show_bug.cgi?id=9803 : minimallyInitializedArray fails past "1D" depth
* http://d.puremagic.com/issues/show_bug.cgi?id=10637 : minimallyInitializedArray: postblit on non-initialized
* http://d.puremagic.com/issues/show_bug.cgi?id=10847 : uninitializedArray accepts arguments which make it fail internally

Improvements also include:
* Documented as nothrow, and weakly pure.
* Works with 0 args (returns an empty slice).
* All args are pre-emptivelly changed to size_t, to avoid template over-instantiation.


  Commit: b16a3ed609be6fc32de6b27ce210559e083d75f5
      https://github.com/D-Programming-Language/phobos/commit/b16a3ed609be6fc32de6b27ce210559e083d75f5
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Add note about CTFE/pure issue


  Commit: 09c5220105b9d57a30fd1c0de30728523ff518c6
      https://github.com/D-Programming-Language/phobos/commit/09c5220105b9d57a30fd1c0de30728523ff518c6
  Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
  Date:   2014-02-14 (Fri, 14 Feb 2014)

  Changed paths:
    M std/array.d

  Log Message:
  -----------
  Merge pull request #1498 from monarchdodra/uniniArray2

Fixup [un|minimally]InitializedArray


Compare: https://github.com/D-Programming-Language/phobos/compare/eb4b70dc6112...09c5220105b9


More information about the phobos mailing list