[phobos] [D-Programming-Language/phobos] fa10a4: Use reinterpret cast is [does|may]PointTo

GitHub via phobos phobos at puremagic.com
Thu Sep 4 11:09:03 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: fa10a4ec772cf9d3a1ab0ff994729456f076b449
      https://github.com/D-Programming-Language/phobos/commit/fa10a4ec772cf9d3a1ab0ff994729456f076b449
  Author: monarchdodra <monarchdodra at gmail.com>
  Date:   2014-08-30 (Sat, 30 Aug 2014)

  Changed paths:
    M std/exception.d

  Log Message:
  -----------
  Use reinterpret cast is [does|may]PointTo

Instead of a straight up cast. Avoids problems related to opCast
or alias this, such as those in:
http://forum.dlang.org/thread/vldwvnuivsfwjozqiuup@forum.dlang.org


  Commit: a519789db11f5d6f759389e561a9fa9b07438a58
      https://github.com/D-Programming-Language/phobos/commit/a519789db11f5d6f759389e561a9fa9b07438a58
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2014-09-04 (Thu, 04 Sep 2014)

  Changed paths:
    M std/exception.d

  Log Message:
  -----------
  Merge pull request #2472 from monarchdodra/doesPointToReg

Use reinterpret cast is [does|may]PointTo


Compare: https://github.com/D-Programming-Language/phobos/compare/dea935d19dad...a519789db11f


More information about the phobos mailing list