From Jason Turner

[array.overview]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpp24h9bhd/{from.md → to.md} +10 -10
tmp/tmpp24h9bhd/{from.md → to.md} RENAMED
@@ -1,24 +1,24 @@
1
  #### Overview <a id="array.overview">[[array.overview]]</a>
2
 
3
  The header `<array>` defines a class template for storing fixed-size
4
  sequences of objects. An `array` is a contiguous container
5
- [[container.requirements.general]]. An instance of `array<T, N>` stores
6
- `N` elements of type `T`, so that `size() == N` is an invariant.
7
 
8
  An `array` is an aggregate [[dcl.init.aggr]] that can be
9
  list-initialized with up to `N` elements whose types are convertible to
10
  `T`.
11
 
12
- An `array` meets all of the requirements of a container and of a
13
- reversible container [[container.requirements]], except that a default
14
- constructed `array` object is not empty and that `swap` does not have
15
- constant complexity. An `array` meets some of the requirements of a
16
- sequence container [[sequence.reqmts]]. Descriptions are provided here
17
- only for operations on `array` that are not described in one of these
18
- tables and for operations where there is additional semantic
19
- information.
20
 
21
  `array<T, N>` is a structural type [[temp.param]] if `T` is a structural
22
  type. Two values `a1` and `a2` of type `array<T, N>` are
23
  template-argument-equivalent [[temp.type]] if and only if each pair of
24
  corresponding elements in `a1` and `a2` are
 
1
  #### Overview <a id="array.overview">[[array.overview]]</a>
2
 
3
  The header `<array>` defines a class template for storing fixed-size
4
  sequences of objects. An `array` is a contiguous container
5
+ [[container.reqmts]]. An instance of `array<T, N>` stores `N` elements
6
+ of type `T`, so that `size() == N` is an invariant.
7
 
8
  An `array` is an aggregate [[dcl.init.aggr]] that can be
9
  list-initialized with up to `N` elements whose types are convertible to
10
  `T`.
11
 
12
+ An `array` meets all of the requirements of a container
13
+ [[container.reqmts]] and of a reversible container
14
+ [[container.rev.reqmts]], except that a default constructed `array`
15
+ object is not empty if `N` > 0. An `array` meets some of the
16
+ requirements of a sequence container [[sequence.reqmts]]. Descriptions
17
+ are provided here only for operations on `array` that are not described
18
+ in one of these tables and for operations where there is additional
19
+ semantic information.
20
 
21
  `array<T, N>` is a structural type [[temp.param]] if `T` is a structural
22
  type. Two values `a1` and `a2` of type `array<T, N>` are
23
  template-argument-equivalent [[temp.type]] if and only if each pair of
24
  corresponding elements in `a1` and `a2` are