Title
First element of an array
Status
ready
Section
9.3.4.5 [dcl.array]
Submitter
CWG

Created on 2025-11-05.00:00:00 last changed 1 month ago

Messages

Date: 2025-11-06.23:04:52

Proposed resolution (approved by CWG 2025-11-06):

Change in 9.3.4.5 [dcl.array] paragraph 6 as follows:

An object of type “array of N U” consists of a contiguously allocated non-empty set of N subobjects of type U, known as the elements of the array, and numbered 0 to N-1. The element numbered 0 is termed the first element of the array.
Date: 2025-11-05.00:00:00

It is unclear whether the phrase "first element" of an array refers to the initial element or to the element with subscript 1.

History
Date User Action Args
2025-11-06 23:04:52adminsetstatus: open -> ready
2025-11-06 13:58:35adminsetmessages: + msg8224
2025-11-05 00:00:00admincreate