D - Declaration Syntax documentation errors
- Scott Egan (13/13) Apr 19 2004 I know there is a good chance I'm missing somthing (being the newbie and
- Walter (1/1) Apr 19 2004 Youch! You're right, I'll fix it.
I know there is a good chance I'm missing somthing (being the newbie and all - thanks Phill); however, under the heading Declaration Syntax in http://www.digitalmars.com/d/declaration.html It quite clearly says that the declaations are left to right: Declaration syntax generally reads left to right: int x; // x is an int int* x; // x is a pointer to int int** x; // x is a pointer to a pointer to int int[] x; // x is an array of ints int*[] x; // x is an array of pointers to ints int[]* x; // x is a pointer to an array of ints And yet every comment is reading the declaration right to left(same for the next section in the doco)???
Apr 19 2004