tmp/tmp0xfoh6fq/{from.md → to.md}
RENAMED
|
@@ -17,14 +17,15 @@ required specializations return `’,’` or `L’,’`.
|
|
| 17 |
``` cpp
|
| 18 |
string do_grouping() const;
|
| 19 |
```
|
| 20 |
|
| 21 |
*Returns:* A `string` `vec` used as a vector of integer values, in which
|
| 22 |
-
each element `vec[i]` represents the number of digits[^13]
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
| 26 |
group is unlimited.
|
| 27 |
|
| 28 |
The required specializations return the empty string, indicating no
|
| 29 |
grouping.
|
| 30 |
|
|
|
|
| 17 |
``` cpp
|
| 18 |
string do_grouping() const;
|
| 19 |
```
|
| 20 |
|
| 21 |
*Returns:* A `string` `vec` used as a vector of integer values, in which
|
| 22 |
+
each element `vec[i]` represents the number of digits[^13]
|
| 23 |
+
|
| 24 |
+
in the group at position `i`, starting with position 0 as the rightmost
|
| 25 |
+
group. If `vec.size() <= i`, the number is the same as group `(i - 1)`;
|
| 26 |
+
if `(i < 0 || vec[i] <= 0 || vec[i] == CHAR_MAX)`, the size of the digit
|
| 27 |
group is unlimited.
|
| 28 |
|
| 29 |
The required specializations return the empty string, indicating no
|
| 30 |
grouping.
|
| 31 |
|