Bug 1945 – Inconsistent and confusing documentation
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-03-26T04:19:00Z
Last change time
2016-10-14T00:57:40Z
Assigned to
nobody
Creator
caron800
Comments
Comment #0 by caron800 — 2008-03-26T04:19:11Z
The documentation at http://digitalmars.com/d/2.0/tuple.html is inconsistent with the documentation at http://digitalmars.com/d/2.0/phobos/std_typecons.html
Both pages define "Tuple" differently, however only std.typecons.Tuple is correct. std.typecons.Tuple is consistent with the usage of the word "Tuple" in all other programming languages. Therefore, this page should stay as is.
The article "Tuples" at http://digitalmars.com/d/2.0/tuple.html, however, needs to be rewritten. I would suggest that the entities described on this page be described as "variadic templates" (not "Tuples"), as that more accurately describes the concept being described.