From 9df685593d4b5a6efc6736a3e86449d7fcd0dd85 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Mon, 10 Nov 2025 09:19:20 +0800 Subject: [PATCH] =?UTF-8?q?[locale.categories]=20Index=C2=A0base=20classes?= =?UTF-8?q?=20and=20members=20of=20category=20classes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enumerators of each unscoped enumeration type are indexed as members of the enclosing class of the enumeration. --- source/preprocessor.tex | 58 ++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/source/preprocessor.tex b/source/preprocessor.tex index b9809ae664..0d08e71773 100644 --- a/source/preprocessor.tex +++ b/source/preprocessor.tex @@ -2193,14 +2193,6 @@ replace the value of this macro with a greater value. \end{note} -\item The macro names listed in \tref{cpp.predefined.ft}.\\ -The macros defined in \tref{cpp.predefined.ft} shall be defined to -the corresponding integer literal. -\begin{note} -Future revisions of this document might replace -the values of these macros with greater values. -\end{note} - \item \indextext{__date__@\mname{DATE}}% \mname{DATE}\\ @@ -2268,6 +2260,14 @@ \tcode{operator new(std::size_t, std::align_val_t)}, etc.\iref{expr.new}. \end{note} +\item +\indextext{__stdcpp_bfloat16_t__@\mname{STDCPP_BFLOAT16_T}}% +\mname{STDCPP_BFLOAT16_T}\\ +Defined as the integer literal \tcode{1} +if and only if the implementation supports an extended floating-point type +with the properties of the \grammarterm{typedef-name} \tcode{std::bfloat16_t} +as described in \ref{basic.extended.fp}. + \item \indextext{__stdcpp_float16_t__@\mname{STDCPP_FLOAT16_T}}% \mname{STDCPP_FLOAT16_T}\\ @@ -2301,12 +2301,10 @@ as an extended floating-point type. \item -\indextext{__stdcpp_bfloat16_t__@\mname{STDCPP_BFLOAT16_T}}% -\mname{STDCPP_BFLOAT16_T}\\ -Defined as the integer literal \tcode{1} -if and only if the implementation supports an extended floating-point type -with the properties of the \grammarterm{typedef-name} \tcode{std::bfloat16_t} -as described in \ref{basic.extended.fp}. +\indextext{__stdcpp_threads__@\mname{STDCPP_THREADS}}% +\mname{STDCPP_THREADS}\\ +Defined, and has the value integer literal 1, if and only if a program +can have more than one thread of execution\iref{intro.multithread}. \item \indextext{__time__@\mname{TIME}}% @@ -2319,6 +2317,14 @@ function. If the time of translation is not available, an \impldef{text of \mname{TIME} when time of translation is not available} valid time shall be supplied. + +\item The macro names listed in \tref{cpp.predefined.ft}.\\ +The macros defined in \tref{cpp.predefined.ft} shall be defined to +the corresponding integer literal. +\begin{note} +Future revisions of this document might replace +the values of these macros with greater values. +\end{note} \end{description} \indextext{macro!feature-test}% @@ -2421,6 +2427,15 @@ Whether \mname{STDC} is predefined and if so, what its value is, are \impldef{definition and meaning of \mname{STDC}}. +\item +\indextext{__stdc_iso_10646__@\mname{STDC_ISO_10646}}% +\mname{STDC_ISO_10646}\\ +An integer literal of the form \tcode{yyyymmL} +(for example, \tcode{199712L}). +Whether \mname{STDC_ISO_10646} is predefined and +if so, what its value is, +are \impldef{presence and value of \mname{STDC_ISO_10646}}. + \item \indextext{__stdc_mb_might_neq_wc__@\mname{STDC_MB_MIGHT_NEQ_WC}}% \mname{STDC_MB_MIGHT_NEQ_WC}\\ @@ -2434,21 +2449,6 @@ Whether \mname{STDC_VERSION} is predefined and if so, what its value is, are \impldef{definition and meaning of \mname{STDC_VERSION}}. -\item -\indextext{__stdc_iso_10646__@\mname{STDC_ISO_10646}}% -\mname{STDC_ISO_10646}\\ -An integer literal of the form \tcode{yyyymmL} -(for example, \tcode{199712L}). -Whether \mname{STDC_ISO_10646} is predefined and -if so, what its value is, -are \impldef{presence and value of \mname{STDC_ISO_10646}}. - -\item -\indextext{__stdcpp_threads__@\mname{STDCPP_THREADS}}% -\mname{STDCPP_THREADS}\\ -Defined, and has the value integer literal 1, if and only if a program -can have more than one thread of execution\iref{intro.multithread}. - \end{description} \pnum