mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 20:09:04 +08:00
Merge pull request #264 from google/spec_update_conventions
Spec: Clarifiy array element assignment.
This commit is contained in:
commit
277c0a0252
@ -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 != B` and is specified to mean the same as
|
||||||
`(A[ 0 ] != B[ 0 ] || A[ 1 ] != B[ 1 ])`.
|
`(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 elements 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.
|
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,
|
When a variable is said to be representable by a signed integer with `x` bits,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user