[phobos] [dlang/phobos] d9abb1: Use assert instead of enforce in std.numeric

GitHub via phobos phobos at puremagic.com
Sun Aug 7 10:08:24 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/phobos
  Commit: d9abb1028d888560d5e3e34a12add0232f969f80
      https://github.com/dlang/phobos/commit/d9abb1028d888560d5e3e34a12add0232f969f80
  Author: ZombineDev <petar.p.kirov at gmail.com>
  Date:   2016-08-04 (Thu, 04 Aug 2016)

  Changed paths:
    M changelog.dd
    M std/numeric.d

  Log Message:
  -----------
  Use assert instead of enforce in std.numeric

And also use onOutOfMemoryError instead of allocating and throwing a new
exception when malloc fails.


  Commit: 4a634ed2eac34455637eb1605f5c4212d9dd23de
      https://github.com/dlang/phobos/commit/4a634ed2eac34455637eb1605f5c4212d9dd23de
  Author: Ilya Yaroshenko <ilyayaroshenko at gmail.com>
  Date:   2016-08-07 (Sun, 07 Aug 2016)

  Changed paths:
    M changelog.dd
    M std/numeric.d

  Log Message:
  -----------
  Merge pull request #4688 from ZombineDev/use-assert-in-std-numeric

Use assert instead of enforce in std.numeric


Compare: https://github.com/dlang/phobos/compare/1efdcd5ebbd9...4a634ed2eac3


More information about the phobos mailing list