@@ -99,8 +99,8 @@ basic_json(basic_json&& other) noexcept;
9999 2. C++ has no way of describing mapped types other than to list a list of pairs. As JSON requires that keys must be
100100 of type string, rule 2 is the weakest constraint one can pose on initializer lists to interpret them as an
101101 object.
102- 3. In all other cases, the initializer list could not be interpreted as JSON object type, so interpreting it as JSON
103- array type is safe.
102+ 3. In all other cases, the initializer list could not be interpreted as a JSON object type, so interpreting it as a
103+ JSON array type is safe.
104104
105105 With the rules described above, the following JSON values cannot be expressed by an initializer list:
106106
@@ -113,7 +113,7 @@ basic_json(basic_json&& other) noexcept;
1131136. Constructs a JSON array value by creating `cnt` copies of a passed value. In case `cnt` is `0`, an empty array is
114114 created.
115115
116- 7. Constructs the JSON value with the contents of the range `[first, last)`. The semantics depends on the different
116+ 7. Constructs the JSON value with the contents of the range `[first, last)`. The semantics depend on the different
117117 types a JSON value can have:
118118
119119 - In case of a `#!json null` type, [invalid_iterator.206](../../home/exceptions.md#jsonexceptioninvalid_iterator206)
@@ -175,10 +175,10 @@ basic_json(basic_json&& other) noexcept;
175175: the number of JSON copies of `val` to create
176176
177177`first` (in)
178- : begin of the range to copy from (included)
178+ : the beginning of the range to copy from (included)
179179
180180`last` (in)
181- : end of the range to copy from (excluded)
181+ : the end of the range to copy from (excluded)
182182
183183`other` (in)
184184: the JSON value to copy/move
@@ -188,10 +188,10 @@ basic_json(basic_json&& other) noexcept;
1881881. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
1891892. No-throw guarantee: this constructor never throws exceptions.
1901903. Depends on the called constructor. For types directly supported by the library (i.e., all types for which no
191- `to_json()` function was provided), strong guarantee holds: if an exception is thrown, there are no changes to any
191+ `to_json()` function was provided), a strong guarantee holds: if an exception is thrown, there are no changes to any
192192 JSON value.
1931934. Depends on the called constructor. For types directly supported by the library (i.e., all types for which no
194- `to_json()` function was provided), strong guarantee holds: if an exception is thrown, there are no changes to any
194+ `to_json()` function was provided), a strong guarantee holds: if an exception is thrown, there are no changes to any
195195 JSON value.
1961965. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
1971976. Strong guarantee: if an exception is thrown, there are no changes to any JSON value.
@@ -217,7 +217,7 @@ basic_json(basic_json&& other) noexcept;
217217 `[first, last)` is undefined.
218218 - Throws [`invalid_iterator.204`](../../home/exceptions.md#jsonexceptioninvalid_iterator204) if iterators `first`
219219 and `last` belong to a primitive type (number, boolean, or string), but `first` does not point to the first
220- element anymore. In this case, the range `[first, last)` is undefined. See example code below.
220+ element anymore. In this case, the range `[first, last)` is undefined. See the example code below.
221221 - Throws [`invalid_iterator.206`](../../home/exceptions.md#jsonexceptioninvalid_iterator206) if iterators `first`
222222 and `last` belong to a `#!json null` value. In this case, the range `[first, last)` is undefined.
2232238. (none)
@@ -333,7 +333,7 @@ basic_json(basic_json&& other) noexcept;
333333 --8<-- "examples/basic_json__list_init_t.output"
334334 ```
335335
336- ??? example "Example: (6) construct an array with count copies of given value"
336+ ??? example "Example: (6) construct an array with count copies of a given value"
337337
338338 The following code shows examples for creating arrays with several copies of a given value.
339339
0 commit comments