[phobos] [D-Programming-Language/phobos] cbdd14: Issue 10265 - RandomSample fails when passed an In...

GitHub noreply at github.com
Fri Jun 7 12:06:28 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: cbdd14b57b41092d4e75dc11338b14c9d61ebd9e
      https://github.com/D-Programming-Language/phobos/commit/cbdd14b57b41092d4e75dc11338b14c9d61ebd9e
  Author: Joseph Rushton Wakeling <joe at webdrake.net>
  Date:   2013-06-04 (Tue, 04 Jun 2013)

  Changed paths:
    M std/random.d

  Log Message:
  -----------
  Issue 10265 - RandomSample fails when passed an InputRange as input

 * Issue fixed by making presence of save() property conditional
   on input being a ForwardRange.


  Commit: 004ce963686fc42f461adf503a0a6b349c8875e1
      https://github.com/D-Programming-Language/phobos/commit/004ce963686fc42f461adf503a0a6b349c8875e1
  Author: Joseph Rushton Wakeling <joe at webdrake.net>
  Date:   2013-06-04 (Tue, 04 Jun 2013)

  Changed paths:
    M std/random.d

  Log Message:
  -----------
  Unittests for randomSample being passed an InputRange.

The assignment of _input = input has been moved from
initialize() to the constructors so as to avoid
problems with nested structs.


  Commit: 783902cafb17eed755d185f63ea2bafa63e4f387
      https://github.com/D-Programming-Language/phobos/commit/783902cafb17eed755d185f63ea2bafa63e4f387
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M std/random.d

  Log Message:
  -----------
  Merge pull request #1332 from WebDrake/randomsample-save

Issue 10265 - RandomSample fails when passed an InputRange as input


Compare: https://github.com/D-Programming-Language/phobos/compare/db7e325f6d4a...783902cafb17


More information about the phobos mailing list