Init
This commit is contained in:
37
cppdraft/array/zero.md
Normal file
37
cppdraft/array/zero.md
Normal file
@@ -0,0 +1,37 @@
|
||||
[array.zero]
|
||||
|
||||
# 23 Containers library [[containers]](./#containers)
|
||||
|
||||
## 23.3 Sequence containers [[sequences]](sequences#array.zero)
|
||||
|
||||
### 23.3.3 Class template array [[array]](array#zero)
|
||||
|
||||
#### 23.3.3.5 Zero-sized arrays [array.zero]
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L6319)
|
||||
|
||||
array shall provide support for the special case N == 0[.](#1.sentence-1)
|
||||
|
||||
[2](#2)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L6322)
|
||||
|
||||
In the case that N == 0, begin() == end() == unique value[.](#2.sentence-1)
|
||||
|
||||
The return value of data() is unspecified[.](#2.sentence-2)
|
||||
|
||||
[3](#3)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L6326)
|
||||
|
||||
The effect of calling front() or back() for a zero-sized array is
|
||||
undefined[.](#3.sentence-1)
|
||||
|
||||
[4](#4)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/containers.tex#L6330)
|
||||
|
||||
Member function swap() shall have a
|
||||
non-throwing exception specification[.](#4.sentence-1)
|
||||
Reference in New Issue
Block a user