(j3.2006) Would there be a technical problem if...

Van Snyder Van.Snyder
Wed Jan 17 18:30:44 EST 2018


On Wed, 2018-01-17 at 22:25 +0000, Bill Long wrote:
> I looked in the C++ 11 standard and found  "    ? In the body of a
> non-static (9.3) member function, the keyword this is a prvalue
> expression whose value is the address of the object for which the
> function is called.?.  Sort of suggests there is only one object,
> rather than an array of them.   Not that we?re restricted to doing
> exactly what C++ does. 

I don't do much C, and haven't done any recently.  Isn't a 1-D array
represented by a pointer to its first element?  I.e., you can't tell the
difference between a scalar and a 1-D array?  Isn't an N-D array a
pointer to an array of (N-1)-D array pointers?





More information about the J3 mailing list