[Issue 511] Various problems in the documentation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 3 03:16:37 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=511





------- Comment #41 from deewiant at gmail.com  2006-12-03 05:16 -------
Most changes folded in for DMD 0.176. The following issues, mostly of type
NITPICK, remain (note that I didn't go through the pages thoroughly again, I
just checked the changes I had already marked and their immediate vicinity):

http://www.digitalmars.com/d/class.html
        Under "Constructors", there is a code snippet "this() { if (a) ?
this(1) : super(); }   // ok" which is syntactically invalid. Remove the "if".

http://www.digitalmars.com/d/ctod.html
        Under "Struct Initializations", there's an incorrect apostrophe in
"{}'s".
        Under "Declaring struct types and variables", there's an excessive
ampersand in the last sentence.

http://www.digitalmars.com/d/dbc.html
        Under "In, Out and Inheritance" only one of the "satisified" typos was
corrected to "satisfied".

http://www.digitalmars.com/d/expression.html
        The last code block under "IsExpression" refers to x in a comment,
while it should say v.

http://www.digitalmars.com/d/faq.html
        Under "Why are floating point values default initialized to NaN rather
than 0?" the word "NaN's", with an incorrect apostrophe, is used instead of
"NaNs".

http://www.digitalmars.com/d/operatoroverloading.html
        Under "Overloading == and !=" it is stated that that "if (a == null)"
is converted to "if (a.opCmp(null)) which will fail if opCmp() is a virtual
function". It should say opEquals instead of opCmp.

http://www.digitalmars.com/d/templates-revisited.html
        Under "SFINAE - Substitution Failure Is Not An Error" the last code
snippet asserts when run: to fix it, change "typedef" to "alias", matching the
change made to http://www.digitalmars.com/d/cpptod.html.


-- 




More information about the Digitalmars-d-bugs mailing list