[phobos] [D-Programming-Language/phobos] 54b151: Consolidating forward range requirements

GitHub noreply at github.com
Mon Feb 4 21:03:10 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 54b151ffdb3799a7202527cf1f7e0e6d234cdcd2
      https://github.com/D-Programming-Language/phobos/commit/54b151ffdb3799a7202527cf1f7e0e6d234cdcd2
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Consolidating forward range requirements

Because returning anything other than an *exact* type match messes everything up. This is particularly true in the sense that "saved" ranges are usually passed directly to a function, so not cast back to the original.


  Commit: e57c8c7393a360216fa0e918f18cca4270829b25
      https://github.com/D-Programming-Language/phobos/commit/e57c8c7393a360216fa0e918f18cca4270829b25
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #1008 from monarchdodra/save

Consolidating forward range requirements


Compare: https://github.com/D-Programming-Language/phobos/compare/295ff3b64d9e...e57c8c7393a3


More information about the phobos mailing list