[phobos] [D-Programming-Language/phobos] 75736f: [Refactoring] Use `FieldTypeTuple!S` instead of `t...

GitHub noreply at github.com
Tue Apr 23 01:09:00 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 75736f137076b94f8f0fa7b14ff2868185d05ed4
      https://github.com/D-Programming-Language/phobos/commit/75736f137076b94f8f0fa7b14ff2868185d05ed4
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2013-04-23 (Tue, 23 Apr 2013)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  [Refactoring] Use `FieldTypeTuple!S` instead of `typeof(S.tupleof)`.

`FieldTypeTuple` is what have to be used when searching through fields as it ignores hidden fields which we don't need here.

Replace in `std.traits.hasElaborate{CopyConstructor,Assign,Destructor}`. This is a refactoring change as hidden fields didn't affect these templates behaviour.


  Commit: 8391dcbc6b2541b0df2413cc109bc8b67b913e2a
      https://github.com/D-Programming-Language/phobos/commit/8391dcbc6b2541b0df2413cc109bc8b67b913e2a
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2013-04-23 (Tue, 23 Apr 2013)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Merge pull request #1262 from denis-sh/use-`FieldTypeTuple!S`-instead-of-`typeof(S.tupleof)`

Use `FieldTypeTuple!S` instead of `typeof(S.tupleof)`.


Compare: https://github.com/D-Programming-Language/phobos/compare/cf3a3ee0a5cc...8391dcbc6b25


More information about the phobos mailing list