[dlang.org] [dlang/dlang.org] f0f1c9: Add note to range based for about implicit type at...

GitHub via dlang.org dlang.org at puremagic.com
Thu May 12 13:31:38 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/dlang.org
  Commit: f0f1c90a131e62d99d263839babb0751af3895cb
      https://github.com/dlang/dlang.org/commit/f0f1c90a131e62d99d263839babb0751af3895cb
  Author: Giles Bathgate <gilesbathgate at gmail.com>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M spec/statement.dd

  Log Message:
  -----------
  Add note to range based for about implicit type attr.

Coming from a background in C++ its natural to expect that
the foreach loop within D should take an auto specifier.
Because D doesn't need these specifiers a simple note
in the documentation can help people understand the difference.


  Commit: 3d29d7a05c873e72b4ee8a801d6bef1df58b5d7a
      https://github.com/dlang/dlang.org/commit/3d29d7a05c873e72b4ee8a801d6bef1df58b5d7a
  Author: Vladimir Panteleev <github.private at thecybershadow.net>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M spec/statement.dd

  Log Message:
  -----------
  Merge pull request #1296 from GilesBathgate/master

Add note to range based for about implicit type attribute.


Compare: https://github.com/dlang/dlang.org/compare/e900ce89388c...3d29d7a05c87


More information about the dlang.org mailing list