File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ class initializer_list
1919
2020### Parameters
2121
22- |Parameter|Description|
23- |---------------|-----------------|
24- |*Type*|The element data type to be stored in the `initializer_list`.|
22+ *Type*\
23+ The element data type to be stored in the `initializer_list`.
2524
2625## Remarks
2726
@@ -72,7 +71,7 @@ Returns a pointer to the first element in an `initializer_list`.
7271constexpr const InputIterator* begin () const noexcept ;
7372```
7473
75- ### Return Value
74+ ### Return value
7675
7776A pointer to the first element of the ` initializer_list ` . If the list is empty, the pointer is the same for the beginning and end of the list.
7877
@@ -84,7 +83,7 @@ Returns a pointer to one past the last element in an `initializer list`.
8483constexpr const InputIterator* end () const noexcept ;
8584```
8685
87- ### Return Value
86+ ### Return value
8887
8988A pointer to one past the last element in the list. If the list is empty, it's the same as the pointer to the first element in the list.
9089
@@ -156,11 +155,6 @@ int main()
156155 cout << " " << c;
157156 cout << endl;
158157
159- cout << "c4 =";
160- for (auto c : c4)
161- cout << " " << c;
162- cout << endl;
163-
164158 cout << "c5 =";
165159 for (auto c : c5)
166160 cout << " " << c;
@@ -172,7 +166,6 @@ int main()
172166c1 = 3
173167c2 = 5 4 3 2 1
174168c3 = 5 4 3 2 1
175- c4 = 5 4
176169c5 = 5 4
177170```
178171
@@ -184,7 +177,7 @@ Returns the number of elements in the list.
184177constexpr size_t size () const noexcept ;
185178```
186179
187- ### Return Value
180+ ### Return value
188181
189182The number of elements in the list.
190183
You can’t perform that action at this time.
0 commit comments