Spec: Clarfiy array element assignment.

- Addresses a comment in KhronosGroup/glTF#1114
This commit is contained in:
Frank Galligan 2017-10-25 08:57:12 -07:00
parent f9edbb70c1
commit a98b69f1f0

View File

@ -94,7 +94,9 @@ represented using the notation `A == B` and is specified to mean the same as
`A != B` and is specified to mean the same as
`(A[ 0 ] != B[ 0 ] || A[ 1 ] != B[ 1 ])`.
The functions `assign`, `back`, `pop_back`, `push_back`, and `size` behave
Unless otherwise noted, array element assignment will increase the size of the array to include the element. Any remaining new elments will be uninitialized.
The functions `assign`, `back`, `empty`, `pop_back`, `push_back`, and `size` behave
similarly on arrays as it is defined for c++ std::vector.
When a variable is said to be representable by a signed integer with `x` bits,