|
719 | 719 |
|
720 | 720 | \pnum |
721 | 721 | \returns |
722 | | -\tcode{*this} |
| 722 | +\tcode{*this}. |
723 | 723 | \end{itemdescr} |
724 | 724 |
|
725 | 725 | \indexlibrary{\idxcode{locale}!destructor}% |
|
810 | 810 |
|
811 | 811 | \begin{itemdescr} |
812 | 812 | \pnum |
813 | | -\returns |
814 | | -The result of the expression: |
815 | | -\tcode{!(*this == other)}. |
| 813 | +\returns \tcode{!(*this == other)}. |
816 | 814 | \end{itemdescr} |
817 | 815 |
|
818 | 816 | \indexlibrarymember{locale}{operator()}% |
|
838 | 836 |
|
839 | 837 | \pnum |
840 | 838 | \returns |
841 | | -The result of the following expression: |
842 | | - |
843 | | -\begin{codeblock} |
844 | | -use_facet<collate<charT>>(*this).compare |
845 | | - (s1.data(), s1.data()+s1.size(), s2.data(), s2.data()+s2.size()) < 0; |
846 | | -\end{codeblock} |
| 839 | +\tcode{use_facet<collate<charT>>(*this).compare(s1.data(), s1.data() + s1.size(),\\ |
| 840 | +s2.data(), s2.data() + s2.size()) < 0}. |
847 | 841 |
|
848 | 842 | \pnum |
849 | 843 | \begin{example} |
|
957 | 951 | \begin{itemdescr} |
958 | 952 | \pnum |
959 | 953 | \returns |
960 | | -True if the facet requested is present in \tcode{loc}; otherwise false. |
| 954 | +\tcode{true} if the facet requested is present in \tcode{loc}; otherwise \tcode{false}. |
961 | 955 | \end{itemdescr} |
962 | 956 |
|
963 | 957 | \rSec2[locale.convenience]{Convenience interfaces} |
|
1598 | 1592 | \begin{itemdescr} |
1599 | 1593 | \pnum |
1600 | 1594 | \returns |
1601 | | -\tcode{do_is(m,c)} |
| 1595 | +\tcode{do_is(m, c)} |
1602 | 1596 | or |
1603 | | -\tcode{do_is(low,high,vec)} |
| 1597 | +\tcode{do_is(low, high, vec)}. |
1604 | 1598 | \end{itemdescr} |
1605 | 1599 |
|
1606 | 1600 | \indexlibrarymember{ctype}{scan_is}% |
|
1612 | 1606 | \begin{itemdescr} |
1613 | 1607 | \pnum |
1614 | 1608 | \returns |
1615 | | -\tcode{do_scan_is(m,low,high)} |
| 1609 | +\tcode{do_scan_is(m, low, high)}. |
1616 | 1610 | \end{itemdescr} |
1617 | 1611 |
|
1618 | 1612 | \indexlibrarymember{ctype}{scan_not}% |
|
1624 | 1618 | \begin{itemdescr} |
1625 | 1619 | \pnum |
1626 | 1620 | \returns |
1627 | | -\tcode{do_scan_not(m,low,high)} |
| 1621 | +\tcode{do_scan_not(m, low, high)}. |
1628 | 1622 | \end{itemdescr} |
1629 | 1623 |
|
1630 | 1624 | \indexlibrarymember{ctype}{toupper}% |
|
1638 | 1632 | \returns |
1639 | 1633 | \tcode{do_toupper(c)} |
1640 | 1634 | or |
1641 | | -\tcode{do_toupper(low,high)} |
| 1635 | +\tcode{do_toupper(low, high)}. |
1642 | 1636 | \end{itemdescr} |
1643 | 1637 |
|
1644 | 1638 | \indexlibrarymember{ctype}{tolower}% |
|
1652 | 1646 | \returns |
1653 | 1647 | \tcode{do_tolower(c)} |
1654 | 1648 | or |
1655 | | -\tcode{do_tolower(low,high)} |
| 1649 | +\tcode{do_tolower(low, high)}. |
1656 | 1650 | \end{itemdescr} |
1657 | 1651 |
|
1658 | 1652 | \indexlibrarymember{ctype}{widen}% |
|
1666 | 1660 | \returns |
1667 | 1661 | \tcode{do_widen(c)} |
1668 | 1662 | or |
1669 | | -\tcode{do_widen(low,high,to)} |
| 1663 | +\tcode{do_widen(low, high, to)}. |
1670 | 1664 | \end{itemdescr} |
1671 | 1665 |
|
1672 | 1666 | \indexlibrarymember{ctype}{narrow}% |
|
1679 | 1673 | \begin{itemdescr} |
1680 | 1674 | \pnum |
1681 | 1675 | \returns |
1682 | | -\tcode{do_narrow(c,dfault)} |
| 1676 | +\tcode{do_narrow(c, dfault)} |
1683 | 1677 | or |
1684 | | -\tcode{do_narrow(low,high,dfault,to)} |
| 1678 | +\tcode{do_narrow(low, high, dfault, to)}. |
1685 | 1679 | \end{itemdescr} |
1686 | 1680 |
|
1687 | 1681 | \rSec4[locale.ctype.virtuals]{\tcode{ctype} virtual functions} |
|
1737 | 1731 | The smallest pointer \tcode{p} in the range |
1738 | 1732 | \range{low}{high} |
1739 | 1733 | such that |
1740 | | -\tcode{is(m,*p)} |
| 1734 | +\tcode{is(m, *p)} |
1741 | 1735 | would return |
1742 | 1736 | \tcode{true}; |
1743 | 1737 | otherwise, returns \tcode{high}. |
|
1760 | 1754 | The smallest pointer \tcode{p}, if any, in the range |
1761 | 1755 | \range{low}{high} |
1762 | 1756 | such that |
1763 | | -\tcode{is(m,*p)} |
| 1757 | +\tcode{is(m, *p)} |
1764 | 1758 | would return |
1765 | 1759 | \tcode{false}; |
1766 | 1760 | otherwise, returns \tcode{high}. |
|
2141 | 2135 | \returns |
2142 | 2136 | \tcode{do_toupper(c)} |
2143 | 2137 | or |
2144 | | -\tcode{do_toupper(low,high)}, |
| 2138 | +\tcode{do_toupper(low, high)}, |
2145 | 2139 | respectively. |
2146 | 2140 | \end{itemdescr} |
2147 | 2141 |
|
|
2156 | 2150 | \returns |
2157 | 2151 | \tcode{do_tolower(c)} |
2158 | 2152 | or |
2159 | | -\tcode{do_tolower(low,high)}, |
| 2153 | +\tcode{do_tolower(low, high)}, |
2160 | 2154 | respectively. |
2161 | 2155 | \end{itemdescr} |
2162 | 2156 |
|
|
2219 | 2213 | \returns |
2220 | 2214 | A pointer to the initial element of an array of size |
2221 | 2215 | \tcode{table_size} |
2222 | | -which represents the classifications of characters in the "C" locale. |
| 2216 | +which represents the classifications of characters in the \tcode{"C"} locale. |
2223 | 2217 | \end{itemdescr} |
2224 | 2218 |
|
2225 | 2219 | \rSec4[facet.ctype.char.virtuals]{\tcode{ctype<char>} virtual functions} |
|
2355 | 2349 | \begin{itemdescr} |
2356 | 2350 | \pnum |
2357 | 2351 | \returns |
2358 | | -\tcode{do_out(state, from, from_end, from_next, to, to_end, to_next)} |
| 2352 | +\tcode{do_out(state, from, from_end, from_next, to, to_end, to_next)}. |
2359 | 2353 | \end{itemdescr} |
2360 | 2354 |
|
2361 | 2355 | \indexlibrarymember{codecvt}{unshift}% |
|
2367 | 2361 | \begin{itemdescr} |
2368 | 2362 | \pnum |
2369 | 2363 | \returns |
2370 | | -\tcode{do_unshift(state, to, to_end, to_next)} |
| 2364 | +\tcode{do_unshift(state, to, to_end, to_next)}. |
2371 | 2365 | \end{itemdescr} |
2372 | 2366 |
|
2373 | 2367 | \indexlibrarymember{codecvt}{in}% |
|
2380 | 2374 | \begin{itemdescr} |
2381 | 2375 | \pnum |
2382 | 2376 | \returns |
2383 | | -\tcode{do_in(state, from, from_end, from_next, to, to_end, to_next)} |
| 2377 | +\tcode{do_in(state, from, from_end, from_next, to, to_end, to_next)}. |
2384 | 2378 | \end{itemdescr} |
2385 | 2379 |
|
2386 | 2380 | \indexlibrarymember{codecvt}{encoding}% |
|
2391 | 2385 | \begin{itemdescr} |
2392 | 2386 | \pnum |
2393 | 2387 | \returns |
2394 | | -\tcode{do_encoding()} |
| 2388 | +\tcode{do_encoding()}. |
2395 | 2389 | \end{itemdescr} |
2396 | 2390 |
|
2397 | 2391 | \indexlibrarymember{codecvt}{always_noconv}% |
|
2402 | 2396 | \begin{itemdescr} |
2403 | 2397 | \pnum |
2404 | 2398 | \returns |
2405 | | -\tcode{do_always_noconv()} |
| 2399 | +\tcode{do_always_noconv()}. |
2406 | 2400 | \end{itemdescr} |
2407 | 2401 |
|
2408 | 2402 | \indexlibrarymember{codecvt}{length}% |
|
2414 | 2408 | \begin{itemdescr} |
2415 | 2409 | \pnum |
2416 | 2410 | \returns |
2417 | | -\tcode{do_length(state, from, from_end, max)} |
| 2411 | +\tcode{do_length(state, from, from_end, max)}. |
2418 | 2412 | \end{itemdescr} |
2419 | 2413 |
|
2420 | 2414 | \indexlibrarymember{codecvt}{max_length}% |
|
2425 | 2419 | \begin{itemdescr} |
2426 | 2420 | \pnum |
2427 | 2421 | \returns |
2428 | | -\tcode{do_max_length()} |
| 2422 | +\tcode{do_max_length()}. |
2429 | 2423 | \end{itemdescr} |
2430 | 2424 |
|
2431 | 2425 | \rSec4[locale.codecvt.virtuals]{\tcode{codecvt} virtual functions} |
|
3636 | 3630 | \begin{itemdescr} |
3637 | 3631 | \pnum |
3638 | 3632 | \returns |
3639 | | -\tcode{do_decimal_point()} |
| 3633 | +\tcode{do_decimal_point()}. |
3640 | 3634 | \end{itemdescr} |
3641 | 3635 |
|
3642 | 3636 | \indexlibrarymember{numpunct}{thousands_sep}% |
|
3647 | 3641 | \begin{itemdescr} |
3648 | 3642 | \pnum |
3649 | 3643 | \returns |
3650 | | -\tcode{do_thousands_sep()} |
| 3644 | +\tcode{do_thousands_sep()}. |
3651 | 3645 | \end{itemdescr} |
3652 | 3646 |
|
3653 | 3647 | \indexlibrarymember{numpunct}{grouping}% |
|
3658 | 3652 | \begin{itemdescr} |
3659 | 3653 | \pnum |
3660 | 3654 | \returns |
3661 | | -\tcode{do_grouping()} |
| 3655 | +\tcode{do_grouping()}. |
3662 | 3656 | \end{itemdescr} |
3663 | 3657 |
|
3664 | 3658 | \indexlibrarymember{numpunct}{truename}% |
|
3838 | 3832 | \begin{itemdescr} |
3839 | 3833 | \pnum |
3840 | 3834 | \returns |
3841 | | -\tcode{do_compare(low1, high1, low2, high2)} |
| 3835 | +\tcode{do_compare(low1, high1, low2, high2)}. |
3842 | 3836 | \end{itemdescr} |
3843 | 3837 |
|
3844 | 3838 | \indexlibrarymember{collate}{transform}% |
|
3849 | 3843 | \begin{itemdescr} |
3850 | 3844 | \pnum |
3851 | 3845 | \returns |
3852 | | -\tcode{do_transform(low, high)} |
| 3846 | +\tcode{do_transform(low, high)}. |
3853 | 3847 | \end{itemdescr} |
3854 | 3848 |
|
3855 | 3849 | \indexlibrarymember{collate}{hash}% |
|
3860 | 3854 | \begin{itemdescr} |
3861 | 3855 | \pnum |
3862 | 3856 | \returns |
3863 | | -\tcode{do_hash(low, high)} |
| 3857 | +\tcode{do_hash(low, high)}. |
3864 | 3858 | \end{itemdescr} |
3865 | 3859 |
|
3866 | 3860 | \rSec4[locale.collate.virtuals]{\tcode{collate} virtual functions} |
|
4061 | 4055 | \begin{itemdescr} |
4062 | 4056 | \pnum |
4063 | 4057 | \returns |
4064 | | -\tcode{do_date_order()} |
| 4058 | +\tcode{do_date_order()}. |
4065 | 4059 | \end{itemdescr} |
4066 | 4060 |
|
4067 | 4061 | \indexlibrarymember{time_get}{get_time}% |
|
4073 | 4067 | \begin{itemdescr} |
4074 | 4068 | \pnum |
4075 | 4069 | \returns |
4076 | | -\tcode{do_get_time(s, end, str, err, t)} |
| 4070 | +\tcode{do_get_time(s, end, str, err, t)}. |
4077 | 4071 | \end{itemdescr} |
4078 | 4072 |
|
4079 | 4073 | \indexlibrarymember{time_get}{get_date}% |
|
4085 | 4079 | \begin{itemdescr} |
4086 | 4080 | \pnum |
4087 | 4081 | \returns |
4088 | | -\tcode{do_get_date(s, end, str, err, t)} |
| 4082 | +\tcode{do_get_date(s, end, str, err, t)}. |
4089 | 4083 | \end{itemdescr} |
4090 | 4084 |
|
4091 | 4085 | \indexlibrarymember{time_get}{get_weekday}% |
|
4102 | 4096 | \returns |
4103 | 4097 | \tcode{do_get_weekday(s, end, str, err, t)} |
4104 | 4098 | or |
4105 | | -\tcode{do_get_monthname(s, end, str, err, t)} |
| 4099 | +\tcode{do_get_monthname(s, end, str, err, t)}. |
4106 | 4100 | \end{itemdescr} |
4107 | 4101 |
|
4108 | 4102 | \indexlibrarymember{time_get}{get_year}% |
|
4114 | 4108 | \begin{itemdescr} |
4115 | 4109 | \pnum |
4116 | 4110 | \returns |
4117 | | -\tcode{do_get_year(s, end, str, err, t)} |
| 4111 | +\tcode{do_get_year(s, end, str, err, t)}. |
4118 | 4112 | \end{itemdescr} |
4119 | 4113 |
|
4120 | 4114 | \indexlibrarymember{get}{time_get}% |
|
4125 | 4119 |
|
4126 | 4120 | \begin{itemdescr} |
4127 | 4121 | \pnum |
4128 | | -\returns \tcode{do_get(s, end, f, err, t, format, modifier)} |
| 4122 | +\returns \tcode{do_get(s, end, f, err, t, format, modifier)}. |
4129 | 4123 | \end{itemdescr} |
4130 | 4124 |
|
4131 | 4125 | \indexlibrarymember{get}{time_get}% |
|
4190 | 4184 | multi-character sequences are considered while doing so. \end{note} |
4191 | 4185 |
|
4192 | 4186 | \pnum |
4193 | | -\returns \tcode{s} |
| 4187 | +\returns \tcode{s}. |
4194 | 4188 | \end{itemdescr} |
4195 | 4189 |
|
4196 | 4190 | \rSec4[locale.time.get.virtuals]{\tcode{time_get} virtual functions} |
|
4624 | 4618 | \begin{itemdescr} |
4625 | 4619 | \pnum |
4626 | 4620 | \returns |
4627 | | -\tcode{do_get(s, end, intl, f, err, quant)} |
| 4621 | +\tcode{do_get(s, end, intl, f, err, quant)}. |
4628 | 4622 | \end{itemdescr} |
4629 | 4623 |
|
4630 | 4624 | \rSec4[locale.money.get.virtuals]{\tcode{money_get} virtual functions} |
|
4851 | 4845 | \begin{itemdescr} |
4852 | 4846 | \pnum |
4853 | 4847 | \returns |
4854 | | -\tcode{do_put(s, intl, f, loc, quant)} |
| 4848 | +\tcode{do_put(s, intl, f, loc, quant)}. |
4855 | 4849 | \end{itemdescr} |
4856 | 4850 |
|
4857 | 4851 | \rSec4[locale.money.put.virtuals]{\tcode{money_put} virtual functions} |
|
5262 | 5256 | \pnum |
5263 | 5257 | \returns |
5264 | 5258 | The number of digits after the decimal radix separator, if any.\footnote{In |
5265 | | -common U.S. locales, this is 2.} |
| 5259 | +common U.S.\ locales, this is 2.} |
5266 | 5260 | \end{itemdescr} |
5267 | 5261 |
|
5268 | 5262 | \indexlibrarymember{moneypunct}{do_pos_format}% |
|
0 commit comments