Size of an unallocated array

That is correct. The introduction of reallocation semantics did essentially the same. See the Backwards compatibility in programming languages thread for a discussion on this.

EDIT: Found it - Backwards compatibility in different programming languages - #24 by PierU

2 Likes