[phobos] [D-Programming-Language/phobos] c8cf91: Added std.range.only - range of a single element.

GitHub noreply at github.com
Thu Jan 3 07:41:57 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: c8cf9197e61d26a820370b80563189e9c651429f
      https://github.com/D-Programming-Language/phobos/commit/c8cf9197e61d26a820370b80563189e9c651429f
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Added std.range.only - range of a single element.

This adds range type `Only!T` and helper function `only!T(T)`. This is a range that iterates a single value, useful when some interface requires a range, but you only have a single value.


  Commit: 51c4f0775669a44a0268f5fb7c9de43f99278249
      https://github.com/D-Programming-Language/phobos/commit/51c4f0775669a44a0268f5fb7c9de43f99278249
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Use RangeError + length optimisation for Only!T


  Commit: 7101a9c24818c566a0192ff90a96cc6923432168
      https://github.com/D-Programming-Language/phobos/commit/7101a9c24818c566a0192ff90a96cc6923432168
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2013-01-01 (Tue, 01 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Using version(D_NoBoundsCheck) for Only!T


  Commit: 483efc7d096ed6c74c1c597d8c37ee297fbc0091
      https://github.com/D-Programming-Language/phobos/commit/483efc7d096ed6c74c1c597d8c37ee297fbc0091
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2013-01-02 (Wed, 02 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  New docs, examples, added asserts for Only!T


  Commit: fb3a15a33f1c3d56a693e375514b78a2654451fe
      https://github.com/D-Programming-Language/phobos/commit/fb3a15a33f1c3d56a693e375514b78a2654451fe
  Author: Peter Alexander <peter.alexander.au at gmail.com>
  Date:   2013-01-02 (Wed, 02 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Voldemortification of std.range.only


  Commit: 8977fd6ae352b5a027809a77dab694fa17638e4c
      https://github.com/D-Programming-Language/phobos/commit/8977fd6ae352b5a027809a77dab694fa17638e4c
  Author: Poita <peter.alexander.au at gmail.com>
  Date:   2013-01-03 (Thu, 03 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Changed only.Result to static struct


  Commit: 3731c856c749e0593e391bbe7b9dfbcb726f56cd
      https://github.com/D-Programming-Language/phobos/commit/3731c856c749e0593e391bbe7b9dfbcb726f56cd
  Author: Poita <peter.alexander.au at gmail.com>
  Date:   2013-01-03 (Thu, 03 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Undoing formatting error


  Commit: 10a56eb0d7f1464b133ec2737c80a390f59ba795
      https://github.com/D-Programming-Language/phobos/commit/10a56eb0d7f1464b133ec2737c80a390f59ba795
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2013-01-03 (Thu, 03 Jan 2013)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #1046 from Poita/only

Added std.range.only - range of a single element.


Compare: https://github.com/D-Programming-Language/phobos/compare/6d57b5ac8e5b...10a56eb0d7f1


More information about the phobos mailing list