[phobos] [D-Programming-Language/phobos] f822e7: Remove package function `defaultInit`

GitHub noreply at github.com
Fri Feb 14 23:21:22 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: f822e7a893a9e0182f4e739d5998c7198da2c629
      https://github.com/D-Programming-Language/phobos/commit/f822e7a893a9e0182f4e739d5998c7198da2c629
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Remove package function `defaultInit`

It was a hack for the compiler bugs around T.init. Now the they are properly fixed, so the unused helper function is actually unnecessary.


  Commit: 6f43a92cd2ed4b16e2dbf8cc6550396f82180b99
      https://github.com/D-Programming-Language/phobos/commit/6f43a92cd2ed4b16e2dbf8cc6550396f82180b99
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Fix predicate template implementations in std.traits and std.range

Use T.init property instead of void initializer, because it will work even if T is const or immutable type.

I must change a part of unit test for the bug 6935, because we cannot support ranges which overrides init property.


  Commit: 768907aea815857aa3e467d99a472a8b5cab87d0
      https://github.com/D-Programming-Language/phobos/commit/768907aea815857aa3e467d99a472a8b5cab87d0
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Add a test case isAssignable!(void[1], void[1])


  Commit: 05e611a5a0ad3683ed4379673471ee085bc3f199
      https://github.com/D-Programming-Language/phobos/commit/05e611a5a0ad3683ed4379673471ee085bc3f199
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2014-02-14 (Fri, 14 Feb 2014)

  Changed paths:
    M std/range.d
    M std/traits.d

  Log Message:
  -----------
  Merge pull request #842 from 9rnsr/fix_predicates

Fix predicate template implementations in std.traits and std.range


Compare: https://github.com/D-Programming-Language/phobos/compare/acdb1d0a9ae9...05e611a5a0ad


More information about the phobos mailing list