Bug 3800 – "Foreach over Structs and Classes with Ranges" and "Invariant Struct" in D2 Spec
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2010-02-14T03:10:00Z
Last change time
2015-06-09T01:27:41Z
Keywords
spec
Assigned to
andrei
Creator
repeatedly
Comments
Comment #0 by repeatedly — 2010-02-14T03:10:26Z
I noticed two invalid documentations.
1. "Foreach over Structs and Classes with Ranges" section in statement.html
I think "Foreach Range Properties" table is old. Current properties are below.
.next -> .popFront
.retreat -> .popBack
.head -> .front
.toe -> .back
2. "Const and Invariant Structs" in struct.html
Invariant -> Immutable