Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 66fd049ea9f52573f061b80e5a71b75a0db8704f
      
https://github.com/D-Programming-Language/phobos/commit/66fd049ea9f52573f061b80e5a71b75a0db8704f
  Author: Dmitry Olshansky <[email protected]>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Make move CTFEable for simple structs and classes

memcpy is not CTFEable, so avoid it for structs without
dtor, postblit that can be assigned with plain =.

This leaves as is (compile error in CTFE) structs that contain
immutable/const memebers the fact that moves overwrites such
fields is questionable to begin with.


  Commit: 1863cb48f96c3d6bbb963c23e2cf7b0e5487902a
      
https://github.com/D-Programming-Language/phobos/commit/1863cb48f96c3d6bbb963c23e2cf7b0e5487902a
  Author: monarch dodra <[email protected]>
  Date:   2014-03-28 (Fri, 28 Mar 2014)

  Changed paths:
    M std/algorithm.d

  Log Message:
  -----------
  Merge pull request #2036 from blackwhale/ctfe-move

Make move CTFEable for simple structs and classes


Compare: 
https://github.com/D-Programming-Language/phobos/compare/73f20bbd7353...1863cb48f96c
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to