[phobos] [D-Programming-Language/phobos] 5e0532: Fix Issue 10460 - auto ref for Union, SetDifferenc...

GitHub via phobos phobos at puremagic.com
Fri Aug 29 13:55:36 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 5e0532b9e7d0a67567db0c7c9a3b541c829c75ed
      https://github.com/D-Programming-Language/phobos/commit/5e0532b9e7d0a67567db0c7c9a3b541c829c75ed
  Author: Peter Alexander <pja at fb.com>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Fix Issue 10460 - auto ref for Union, SetDifference, SetSymmetricDifference

https://issues.dlang.org/show_bug.cgi?id=10460

The rearrangement of SetSymmetricDifference.front was needed since auto ref doesn't deduce correctly when there are multiple return statements (by design), so a single return statement with the ternary operator was used.


  Commit: b61d9fa6844632ced1758f75ba2812c057d34bb8
      https://github.com/D-Programming-Language/phobos/commit/b61d9fa6844632ced1758f75ba2812c057d34bb8
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #2461 from fb-pja/bug10460

Fix Issue 10460 - auto ref Union, SetDifference, SetSymmetricDifference


Compare: https://github.com/D-Programming-Language/phobos/compare/6cd2e43eab2b...b61d9fa68446


More information about the phobos mailing list