[phobos] [D-Programming-Language/phobos] f5843a: add isStringLike to std.traits

GitHub via phobos phobos at puremagic.com
Mon Oct 26 06:56:59 PDT 2015


  Branch: refs/heads/stable
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: f5843a3cfe286271d28ddda9cb47a6d690d75538
      https://github.com/D-Programming-Language/phobos/commit/f5843a3cfe286271d28ddda9cb47a6d690d75538
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  add isStringLike to std.traits

- select only structs/static array that are implicitly convertible to a string

- also add internal peelStringLike helper


  Commit: f8af54dce783832a8424aa3b5bd86f51d324cbf1
      https://github.com/D-Programming-Language/phobos/commit/f8af54dce783832a8424aa3b5bd86f51d324cbf1
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/algorithm/comparison.d

  Log Message:
  -----------
  fix levenshteinDistance for string-like types


  Commit: 994ef503b2b19f0a25b1706f34b591ca663880f5
      https://github.com/D-Programming-Language/phobos/commit/994ef503b2b19f0a25b1706f34b591ca663880f5
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/path.d

  Log Message:
  -----------
  std.path fixes for string-like types


  Commit: 34097e85953d346a86d5f0e7be38aca0890a3862
      https://github.com/D-Programming-Language/phobos/commit/34097e85953d346a86d5f0e7be38aca0890a3862
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/string.d

  Log Message:
  -----------
  std.string fixes for string-like types

- consolidate tests
- add a few missing overloads


  Commit: 6e58799ca3499a5081b80e2793ef87f2b831b4c1
      https://github.com/D-Programming-Language/phobos/commit/6e58799ca3499a5081b80e2793ef87f2b831b4c1
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/uni.d

  Log Message:
  -----------
  std.uni fixes for string-like types


  Commit: 3a8a9ea7939cf2e5c4a6452597681975ad3fb866
      https://github.com/D-Programming-Language/phobos/commit/3a8a9ea7939cf2e5c4a6452597681975ad3fb866
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-10-25 (Sun, 25 Oct 2015)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  std.file fixes for string-like types

- fixes Issue 15027


  Commit: 384410aa188f4300b80d7f6dbf2145ecc8c03e92
      https://github.com/D-Programming-Language/phobos/commit/384410aa188f4300b80d7f6dbf2145ecc8c03e92
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2015-10-26 (Mon, 26 Oct 2015)

  Changed paths:
    M std/algorithm/comparison.d
    M std/file.d
    M std/path.d
    M std/string.d
    M std/traits.d
    M std/uni.d

  Log Message:
  -----------
  Merge pull request #3770 from MartinNowak/string_like

fix Issue 15027 – rangified functions no longer work with string-like types


Compare: https://github.com/D-Programming-Language/phobos/compare/325715024df8...384410aa188f


More information about the phobos mailing list