Original Post
I was looking at the page about the book C++ Gotchas by Stephen C. Dewhurst on Amazon when I noticed in one of the reviews someone states that this book talks about why the predefined index operator is commutative, e.g. referring to MyArray[24] is the same as referring to 24[MyArray]. Now I've not read the book so I don't know what the book say about it (I do intend to buy it & read it one day but not yet) but it's got me wandering, I've never seen that before and to refer to an element by index[array] seems backwards to me but I'm thinking there must be a good reason for this...does someone care to enlighten me? Many thanks, Tom