tmp/tmpmf7j6ez2/{from.md → to.md}
RENAMED
|
@@ -1,55 +1,55 @@
|
|
| 1 |
-
##### Virtual functions <a id="locale.moneypunct.virtuals">[[locale.moneypunct.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
charT do_decimal_point() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* The radix separator to use in case `do_frac_digits()` is
|
| 8 |
-
greater than zero.[^
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
charT do_thousands_sep() const;
|
| 12 |
```
|
| 13 |
|
| 14 |
*Returns:* The digit group separator to use in case `do_grouping()`
|
| 15 |
-
specifies a digit grouping pattern.[^
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
string do_grouping() const;
|
| 19 |
```
|
| 20 |
|
| 21 |
*Returns:* A pattern defined identically as, but not necessarily equal
|
| 22 |
-
to, the result of `numpunct<charT>::do_grouping()`.[^
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
string_type do_curr_symbol() const;
|
| 26 |
```
|
| 27 |
|
| 28 |
*Returns:* A string to use as the currency identifier symbol.
|
| 29 |
|
| 30 |
-
[*Note
|
| 31 |
`true`, this is typically four characters long: a three-letter code as
|
| 32 |
specified by ISO 4217 followed by a space. — *end note*]
|
| 33 |
|
| 34 |
``` cpp
|
| 35 |
string_type do_positive_sign() const;
|
| 36 |
string_type do_negative_sign() const;
|
| 37 |
```
|
| 38 |
|
| 39 |
*Returns:* `do_positive_sign()` returns the string to use to indicate a
|
| 40 |
-
positive monetary value;[^
|
| 41 |
|
| 42 |
`do_negative_sign()` returns the string to use to indicate a negative
|
| 43 |
value.
|
| 44 |
|
| 45 |
``` cpp
|
| 46 |
int do_frac_digits() const;
|
| 47 |
```
|
| 48 |
|
| 49 |
*Returns:* The number of digits after the decimal radix separator, if
|
| 50 |
-
any.[^
|
| 51 |
|
| 52 |
``` cpp
|
| 53 |
pattern do_pos_format() const;
|
| 54 |
pattern do_neg_format() const;
|
| 55 |
```
|
|
@@ -61,7 +61,7 @@ pattern do_neg_format() const;
|
|
| 61 |
- `moneypunct<wchar_t>`,
|
| 62 |
- `moneypunct<char, true>`, and
|
| 63 |
- `moneypunct<wchar_t, true>`,
|
| 64 |
|
| 65 |
return an object of type `pattern` initialized to
|
| 66 |
-
`{ symbol, sign, none, value }`.[^
|
| 67 |
|
|
|
|
| 1 |
+
###### Virtual functions <a id="locale.moneypunct.virtuals">[[locale.moneypunct.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
charT do_decimal_point() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:* The radix separator to use in case `do_frac_digits()` is
|
| 8 |
+
greater than zero.[^19]
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
charT do_thousands_sep() const;
|
| 12 |
```
|
| 13 |
|
| 14 |
*Returns:* The digit group separator to use in case `do_grouping()`
|
| 15 |
+
specifies a digit grouping pattern.[^20]
|
| 16 |
|
| 17 |
``` cpp
|
| 18 |
string do_grouping() const;
|
| 19 |
```
|
| 20 |
|
| 21 |
*Returns:* A pattern defined identically as, but not necessarily equal
|
| 22 |
+
to, the result of `numpunct<charT>::do_grouping()`.[^21]
|
| 23 |
|
| 24 |
``` cpp
|
| 25 |
string_type do_curr_symbol() const;
|
| 26 |
```
|
| 27 |
|
| 28 |
*Returns:* A string to use as the currency identifier symbol.
|
| 29 |
|
| 30 |
+
[*Note 2*: For specializations where the second template parameter is
|
| 31 |
`true`, this is typically four characters long: a three-letter code as
|
| 32 |
specified by ISO 4217 followed by a space. — *end note*]
|
| 33 |
|
| 34 |
``` cpp
|
| 35 |
string_type do_positive_sign() const;
|
| 36 |
string_type do_negative_sign() const;
|
| 37 |
```
|
| 38 |
|
| 39 |
*Returns:* `do_positive_sign()` returns the string to use to indicate a
|
| 40 |
+
positive monetary value;[^22]
|
| 41 |
|
| 42 |
`do_negative_sign()` returns the string to use to indicate a negative
|
| 43 |
value.
|
| 44 |
|
| 45 |
``` cpp
|
| 46 |
int do_frac_digits() const;
|
| 47 |
```
|
| 48 |
|
| 49 |
*Returns:* The number of digits after the decimal radix separator, if
|
| 50 |
+
any.[^23]
|
| 51 |
|
| 52 |
``` cpp
|
| 53 |
pattern do_pos_format() const;
|
| 54 |
pattern do_neg_format() const;
|
| 55 |
```
|
|
|
|
| 61 |
- `moneypunct<wchar_t>`,
|
| 62 |
- `moneypunct<char, true>`, and
|
| 63 |
- `moneypunct<wchar_t, true>`,
|
| 64 |
|
| 65 |
return an object of type `pattern` initialized to
|
| 66 |
+
`{ symbol, sign, none, value }`.[^24]
|
| 67 |
|