|
14 | 14 | \pnum
|
15 | 15 | The following subclauses describe components for
|
16 | 16 | locales themselves, the standard facets, and facilities
|
17 |
| -from the ISO C library, as summarized in \tref{localization.lib.summary}. |
| 17 | +from the ISO C library, as summarized in \tref{localization.summary}. |
18 | 18 |
|
19 |
| -\begin{libsumtab}{Localization library summary}{localization.lib.summary} |
| 19 | +\begin{libsumtab}{Localization library summary}{localization.summary} |
20 | 20 | \ref{locales} & Locales & \tcode{<locale>} \\
|
21 | 21 | \ref{locale.categories} & Standard \tcode{locale} categories & \\ \rowsep
|
22 | 22 | \ref{c.locales} & C library locales & \tcode{<clocale>} \\
|
|
340 | 340 | value identifies a set of locale categories.
|
341 | 341 | Each locale category,
|
342 | 342 | in turn, identifies a set of locale facets, including at least those
|
343 |
| -shown in \tref{localization.category.facets}. |
| 343 | +shown in \tref{locale.category.facets}. |
344 | 344 |
|
345 |
| -\begin{floattable}{Locale category facets}{localization.category.facets} |
| 345 | +\begin{floattable}{Locale category facets}{locale.category.facets} |
346 | 346 | {ml}
|
347 | 347 | \topline
|
348 | 348 | \lhdr{Category} & \rhdr{Includes facets} \\ \capsep
|
|
369 | 369 | either constructed, or returned by
|
370 | 370 | \tcode{locale::classic()},
|
371 | 371 | and any facet \tcode{Facet}
|
372 |
| -shown in \tref{localization.category.facets}, |
| 372 | +shown in \tref{locale.category.facets}, |
373 | 373 | \tcode{has_facet<Facet>(loc)}
|
374 | 374 | is \tcode{true}.
|
375 | 375 | Each
|
|
381 | 381 | \pnum
|
382 | 382 | An implementation is required to provide those specializations for
|
383 | 383 | facet templates identified as members of a category, and for those
|
384 |
| -shown in \tref{localization.required.specializations}. |
| 384 | +shown in \tref{locale.spec}. |
385 | 385 |
|
386 |
| -\begin{floattable}{Required specializations}{localization.required.specializations} |
| 386 | +\begin{floattable}{Required specializations}{locale.spec} |
387 | 387 | {ml}
|
388 | 388 | \topline
|
389 | 389 | \lhdr{Category} & \rhdr{Includes facets} \\ \capsep
|
|
1174 | 1174 | for character classing during input parsing.
|
1175 | 1175 |
|
1176 | 1176 | \pnum
|
1177 |
| -The specializations required in \tref{localization.category.facets}\iref{locale.category}, namely |
| 1177 | +The specializations required in \tref{locale.category.facets}\iref{locale.category}, namely |
1178 | 1178 | \tcode{ctype<char>}
|
1179 | 1179 | and
|
1180 | 1180 | \tcode{ctype<wchar_t>},
|
|
1895 | 1895 | argument selects the pair of character encodings being mapped between.
|
1896 | 1896 |
|
1897 | 1897 | \pnum
|
1898 |
| -The specializations required in \tref{localization.category.facets}\iref{locale.category} |
| 1898 | +The specializations required in \tref{locale.category.facets}\iref{locale.category} |
1899 | 1899 | convert the implementation-defined native character set.
|
1900 | 1900 | \tcode{codecvt<char, char, mbstate_t>}
|
1901 | 1901 | implements a degenerate conversion;
|
|
2111 | 2111 |
|
2112 | 2112 | \pnum
|
2113 | 2113 | \returns
|
2114 |
| -An enumeration value, as summarized in \tref{localization.convert.result.values.out.in}. |
| 2114 | +An enumeration value, as summarized in \tref{locale.codecvt.inout}. |
2115 | 2115 |
|
2116 |
| -\begin{floattable}{\tcode{do_in/do_out} result values}{localization.convert.result.values.out.in} |
| 2116 | +\begin{floattable}{\tcode{do_in/do_out} result values}{locale.codecvt.inout} |
2117 | 2117 | {lp{3in}}
|
2118 | 2118 | \topline
|
2119 | 2119 | \lhdr{Value} & \rhdr{Meaning} \\ \capsep
|
|
2163 | 2163 |
|
2164 | 2164 | \pnum
|
2165 | 2165 | \returns
|
2166 |
| -An enumeration value, as summarized in \tref{localization.convert.result.values.unshift}. |
| 2166 | +An enumeration value, as summarized in \tref{locale.codecvt.unshift}. |
2167 | 2167 |
|
2168 |
| -\begin{floattable}{\tcode{do_unshift} result values}{localization.convert.result.values.unshift} |
| 2168 | +\begin{floattable}{\tcode{do_unshift} result values}{locale.codecvt.unshift} |
2169 | 2169 | {lp{.50\hsize}}
|
2170 | 2170 | \topline
|
2171 | 2171 | \lhdr{Value} & \rhdr{Meaning} \\ \capsep
|
|
2318 | 2318 | and
|
2319 | 2319 | \tcode{num_get}
|
2320 | 2320 | in the subclauses of~\ref{category.numeric} only apply to the
|
2321 |
| -specializations required in Tables~\ref{tab:localization.category.facets} |
2322 |
| -and~\ref{tab:localization.required.specializations}\iref{locale.category}, namely |
| 2321 | +specializations required in Tables~\ref{tab:locale.category.facets} |
| 2322 | +and~\ref{tab:locale.spec}\iref{locale.category}, namely |
2323 | 2323 | \tcode{num_get<char>},
|
2324 | 2324 | \tcode{num_get<wchar_t>},
|
2325 | 2325 | \tcode{num_get<C, InputIterator>},
|
|
2522 | 2522 |
|
2523 | 2523 | For conversion to an integral type, the
|
2524 | 2524 | function determines the integral conversion specifier as indicated in
|
2525 |
| -\tref{localization.integer.conversions.in}. |
| 2525 | +\tref{facet.num.get.int}. |
2526 | 2526 | The table is ordered.
|
2527 | 2527 | That is, the first line whose condition is true applies.
|
2528 | 2528 |
|
2529 |
| -\begin{floattable}{Integer conversions}{localization.integer.conversions.in} |
| 2529 | +\begin{floattable}{Integer conversions}{facet.num.get.int} |
2530 | 2530 | {lc}
|
2531 | 2531 | \topline
|
2532 | 2532 | \lhdr{State} & \tcode{stdio} equivalent \\ \capsep
|
|
2546 | 2546 | \tcode{\%p}.
|
2547 | 2547 |
|
2548 | 2548 | A length modifier is added to the conversion specification, if needed,
|
2549 |
| -as indicated in \tref{localization.length.modifier.in}. |
| 2549 | +as indicated in \tref{facet.num.get.length}. |
2550 | 2550 |
|
2551 |
| -\begin{floattable}{Length modifier}{localization.length.modifier.in} |
| 2551 | +\begin{floattable}{Length modifier}{facet.num.get.length} |
2552 | 2552 | {lc}
|
2553 | 2553 | \topline
|
2554 | 2554 | \lhdr{Type} & Length modifier \\ \capsep
|
|
2908 | 2908 |
|
2909 | 2909 | For conversion from an integral type other than a character type, the
|
2910 | 2910 | function determines the integral conversion specifier as indicated in
|
2911 |
| -\tref{localization.integer.conversions.out}. |
| 2911 | +\tref{facet.num.put.int}. |
2912 | 2912 |
|
2913 |
| -\begin{floattable}{Integer conversions}{localization.integer.conversions.out} |
| 2913 | +\begin{floattable}{Integer conversions}{facet.num.put.int} |
2914 | 2914 | {lc}
|
2915 | 2915 | \topline
|
2916 | 2916 | \lhdr{State} & \tcode{stdio} equivalent \\ \capsep
|
|
2922 | 2922 | \end{floattable}
|
2923 | 2923 |
|
2924 | 2924 | For conversion from a floating-point type, the function determines
|
2925 |
| -the floating-point conversion specifier as indicated in \tref{localization.fp.conversions.out}. |
| 2925 | +the floating-point conversion specifier as indicated in \tref{facet.num.put.fp}. |
2926 | 2926 |
|
2927 |
| -\begin{floattable}{Floating-point conversions}{localization.fp.conversions.out} |
| 2927 | +\begin{floattable}{Floating-point conversions}{facet.num.put.fp} |
2928 | 2928 | {lc}
|
2929 | 2929 | \topline
|
2930 | 2930 | \lhdr{State} & \tcode{stdio} equivalent \\ \capsep
|
|
2939 | 2939 |
|
2940 | 2940 | For conversions from an integral or floating-point
|
2941 | 2941 | type a length modifier is added to the
|
2942 |
| -conversion specifier as indicated in \tref{localization.length.modifier.out}. |
| 2942 | +conversion specifier as indicated in \tref{facet.num.put.length}. |
2943 | 2943 |
|
2944 |
| -\begin{floattable}{Length modifier}{localization.length.modifier.out} |
| 2944 | +\begin{floattable}{Length modifier}{facet.num.put.length} |
2945 | 2945 | {lc}
|
2946 | 2946 | \topline
|
2947 | 2947 | \lhdr{Type} & Length modifier \\ \capsep
|
|
2954 | 2954 | \end{floattable}
|
2955 | 2955 |
|
2956 | 2956 | The conversion specifier has the following optional additional qualifiers
|
2957 |
| -prepended as indicated in \tref{localization.numeric.conversions}. |
| 2957 | +prepended as indicated in \tref{facet.num.put.conv}. |
2958 | 2958 |
|
2959 |
| -\begin{floattable}{Numeric conversions}{localization.numeric.conversions} |
| 2959 | +\begin{floattable}{Numeric conversions}{facet.num.put.conv} |
2960 | 2960 | {llc}
|
2961 | 2961 | \topline
|
2962 | 2962 | \lhdr{Type(s)} & \chdr{State} & \tcode{stdio} equivalent \\ \capsep
|
|
3018 | 3018 | \tcode{0}
|
3019 | 3019 | which is
|
3020 | 3020 | \textit{not}
|
3021 |
| -a padding character.} is determined according to \tref{localization.fill.padding}. |
| 3021 | +a padding character.} is determined according to \tref{facet.num.put.fill}. |
3022 | 3022 |
|
3023 |
| -\begin{floattable}{Fill padding}{localization.fill.padding} |
| 3023 | +\begin{floattable}{Fill padding}{facet.num.put.fill} |
3024 | 3024 | {p{3in}l}
|
3025 | 3025 | \topline
|
3026 | 3026 | \lhdr{State} & \rhdr{Location} \\ \capsep
|
|
3126 | 3126 | \pnum
|
3127 | 3127 | \tcode{numpunct<>}
|
3128 | 3128 | specifies numeric punctuation.
|
3129 |
| -The specializations required in \tref{localization.category.facets}\iref{locale.category}, namely |
| 3129 | +The specializations required in \tref{locale.category.facets}\iref{locale.category}, namely |
3130 | 3130 | \tcode{numpunct<\brk{}wchar_t>}
|
3131 | 3131 | and
|
3132 | 3132 | \tcode{numpunct<char>},
|
|
3368 | 3368 | \tcode{operator()},
|
3369 | 3369 | uses the collate facet to allow a locale to act directly as the predicate
|
3370 | 3370 | argument for standard algorithms\iref{algorithms} and containers operating on strings.
|
3371 |
| -The specializations required in \tref{localization.category.facets}\iref{locale.category}, namely |
| 3371 | +The specializations required in \tref{locale.category.facets}\iref{locale.category}, namely |
3372 | 3372 | \tcode{collate<char>}
|
3373 | 3373 | and
|
3374 | 3374 | \tcode{collate<wchar_t>},
|
|
3431 | 3431 | if the first string is greater than the second,
|
3432 | 3432 | \tcode{-1}
|
3433 | 3433 | if less, zero otherwise.
|
3434 |
| -The specializations required in \tref{localization.category.facets}\iref{locale.category}, namely |
| 3434 | +The specializations required in \tref{locale.category.facets}\iref{locale.category}, namely |
3435 | 3435 | \tcode{collate<char>}
|
3436 | 3436 | and
|
3437 | 3437 | \tcode{collate<wchar_t>},
|
|
3509 | 3509 | and
|
3510 | 3510 | \tcode{time_get}
|
3511 | 3511 | in the subclauses of~\ref{category.time} only apply to the
|
3512 |
| -specializations required in Tables~\ref{tab:localization.category.facets} |
3513 |
| -and~\ref{tab:localization.required.specializations}\iref{locale.category}. |
| 3512 | +specializations required in Tables~\ref{tab:locale.category.facets} |
| 3513 | +and~\ref{tab:locale.spec}\iref{locale.category}. |
3514 | 3514 | Their members use their
|
3515 | 3515 | \tcode{ios_base\&},
|
3516 | 3516 | \tcode{ios_base::iostate\&},
|
|
3811 | 3811 | to produce one of the following formats,
|
3812 | 3812 | or until it encounters an error. The format depends on the value returned
|
3813 | 3813 | by \tcode{date_order()} as shown in
|
3814 |
| -\tref{lib.locale.time.get.virtuals.dogetdate}. |
| 3814 | +\tref{locale.time.get.dogetdate}. |
3815 | 3815 |
|
3816 |
| -\begin{libtab2}{\tcode{do_get_date} effects}{lib.locale.time.get.virtuals.dogetdate} |
| 3816 | +\begin{libtab2}{\tcode{do_get_date} effects}{locale.time.get.dogetdate} |
3817 | 3817 | {ll}{\tcode{date_order()}}{Format}
|
3818 | 3818 | \tcode{no_order} & \tcode{"\%m\%d\%y"} \\
|
3819 | 3819 | \tcode{dmy} & \tcode{"\%d\%m\%y"} \\
|
|
4118 | 4118 | and
|
4119 | 4119 | \tcode{money_get}
|
4120 | 4120 | in the subclauses of~\ref{category.monetary} only apply to the
|
4121 |
| -specializations required in Tables~\ref{tab:localization.category.facets} |
4122 |
| -and~\ref{tab:localization.required.specializations}\iref{locale.category}. |
| 4121 | +specializations required in Tables~\ref{tab:locale.category.facets} |
| 4122 | +and~\ref{tab:locale.spec}\iref{locale.category}. |
4123 | 4123 | Their members use their
|
4124 | 4124 | \tcode{ios_base\&},
|
4125 | 4125 | \tcode{ios_base::io\-state\&},
|
|
4825 | 4825 | \begin{itemdescr}
|
4826 | 4826 | \pnum
|
4827 | 4827 | \returns
|
4828 |
| -The specializations required in \tref{localization.required.specializations}\iref{locale.category}, namely |
| 4828 | +The specializations required in \tref{locale.spec}\iref{locale.category}, namely |
4829 | 4829 | \tcode{moneypunct<char>},
|
4830 | 4830 | \tcode{moneypunct<\brk{}wchar_t>},
|
4831 | 4831 | \tcode{moneypunct<char, true>},
|
|
0 commit comments