From 0b90cfcef1aca8fb21f4dd1e03a5181a99c69c48 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 25 Apr 2024 00:30:02 +0800 Subject: [PATCH 01/27] [expos.only.entity] Say typedef-names are declared --- source/lib-intro.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index 7d17d8898c..0af7c8f5ca 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -488,8 +488,8 @@ \pnum Several entities and \grammarterm{typedef-name}{s} -defined in \ref{\firstlibchapter} through \ref{\lastlibchapter} and \ref{depr} -are only defined for the purpose of exposition. +declared in \ref{\firstlibchapter} through \ref{\lastlibchapter} and \ref{depr} +are only declared for the purpose of exposition. The declaration of such an entity or \grammarterm{typedef-name} is followed by a comment ending in \expos. From 1e1a9034235241f85f344467be708391c64b2827 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 3 Aug 2023 00:37:14 +0800 Subject: [PATCH 02/27] [type.descriptions.general] Use "shown" for impl-def types --- source/lib-intro.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index 0af7c8f5ca..d8257fb118 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -558,7 +558,7 @@ the library. \pnum -Certain types defined in \ref{input.output} are used to describe implementation-defined types. +Certain types shown in \ref{input.output} are used to describe implementation-defined types. \indextext{types!implementation-defined}% They are based on other types, but with added constraints. From 8a03d2546a00484325accc6ce6f03ee2df2c2c78 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 3 Aug 2023 00:38:04 +0800 Subject: [PATCH 03/27] [enumerated.types] Reword enumerated types Also mention [re]. --- source/lib-intro.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index d8257fb118..ab1d188ffd 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -565,7 +565,7 @@ \rSec4[enumerated.types]{Enumerated types} \pnum -Several types defined in \ref{input.output} are +Several types specified in \ref{input.output} and \ref{re} are \defnadjx{enumerated}{types}{type}. Each enumerated type may be implemented as an enumeration or as a synonym for an enumeration. From eb8c59b7b07412ef3760d71b23b397972777b8af Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 3 Aug 2023 00:38:45 +0800 Subject: [PATCH 04/27] [bitmask.types] Reword bitmask types --- source/lib-intro.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index ab1d188ffd..2f80aff5cd 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -598,7 +598,7 @@ \rSec4[bitmask.types]{Bitmask types} \pnum -Several types defined in \ref{\firstlibchapter} through \ref{\lastlibchapter} +Several types specified in \ref{\firstlibchapter} through \ref{\lastlibchapter} and \ref{depr} are \defnx{bitmask types}{type!bitmask}. Each bitmask type can be implemented as an From 42b1e2a80cf8b781fff3acd6fbf1687b4ee81042 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 25 Apr 2024 00:33:17 +0800 Subject: [PATCH 05/27] [extern.types] Use "declared" for C library types --- source/lib-intro.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index 2f80aff5cd..c5249bc66e 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -3274,7 +3274,7 @@ \tcode{::T} and \tcode{std::T} -are reserved to the implementation and, when defined, +are reserved to the implementation and, when declared, \tcode{::T} shall be identical to \tcode{std::T}. From cd3537260c3cdf3ee841a474b98d3b642a78df72 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Fri, 28 Jul 2023 23:51:45 +0800 Subject: [PATCH 06/27] [cstdint.syn] Use "declare" for typedef-names --- source/support.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/support.tex b/source/support.tex index 28c15ac913..60fd3ed465 100644 --- a/source/support.tex +++ b/source/support.tex @@ -1979,10 +1979,10 @@ are also optional; however, if an implementation defines integer types with the corresponding width and no padding bits, -it defines the corresponding \grammarterm{typedef-name}s. +it declares the corresponding \grammarterm{typedef-name}s. Each of the macros listed in this subclause is defined if and only if -the implementation defines the corresponding \grammarterm{typedef-name}. +the implementation declares the corresponding \grammarterm{typedef-name}. \begin{note} The macros \tcode{INT\placeholdernc{N}_C} and \tcode{UINT\placeholdernc{N}_C} correspond to the \grammarterm{typedef-name}s From ca93ce4c8fc09ad376a7b3cfd2e856064ed01fe8 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Fri, 28 Jul 2023 23:52:27 +0800 Subject: [PATCH 07/27] [stdfloat.syn] Use "declare" for typedef-names --- source/support.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/support.tex b/source/support.tex index 60fd3ed465..fad8448511 100644 --- a/source/support.tex +++ b/source/support.tex @@ -1993,7 +1993,7 @@ \rSec2[stdfloat.syn]{Header \tcode{} synopsis} \pnum -The header \libheader{stdfloat} defines type aliases for +The header \libheader{stdfloat} declares type aliases for the optional extended floating-point types that are specified in \ref{basic.extended.fp}. From 100a31fdab63db3112a3a4b8e22333ffd71a5165 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Fri, 28 Jul 2023 23:58:28 +0800 Subject: [PATCH 08/27] [meta.rqmts] Use "declare" for typedef-names --- source/meta.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/meta.tex b/source/meta.tex index ec59b440b8..8612794830 100644 --- a/source/meta.tex +++ b/source/meta.tex @@ -126,7 +126,7 @@ modifies a property of a type. It shall be a class template that takes one template type argument and, optionally, additional arguments that help -define the modification. It shall define a publicly accessible nested type +define the modification. It shall declare a publicly accessible nested type named \tcode{type}, which shall be a synonym for the modified type. \pnum From 39831b324e969588c310cbf593566221b7fc38f8 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:02:58 +0800 Subject: [PATCH 09/27] [meta.trans.other] Use "declare" for typedef-names In the example, it seems a bit verbose to say "declarations and definitions". --- source/meta.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/meta.tex b/source/meta.tex index 8612794830..33d021569d 100644 --- a/source/meta.tex +++ b/source/meta.tex @@ -1949,7 +1949,7 @@ \tcode{template} \tcode{struct common_type;} & Unless this trait is specialized, - the member \tcode{type} is defined or omitted as specified below. + the member \tcode{type} is declared or omitted as specified below. If it is omitted, there shall be no member \tcode{type}. Each type in the template parameter pack \tcode{T} shall be complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep @@ -1965,7 +1965,7 @@ \tcode{template} \tcode{struct \libglobal{common_reference};} & - The member \grammarterm{typedef-name} \tcode{type} is defined or omitted + The member \grammarterm{typedef-name} \tcode{type} is declared or omitted as specified below. Each type in the parameter pack \tcode{T} shall be complete or \cv{} \keyword{void}. \\ \rowsep @@ -2075,7 +2075,7 @@ \pnum For the \tcode{common_type} trait applied to a template parameter pack \tcode{T} of types, -the member \tcode{type} shall be either defined or not present as follows: +the member \tcode{type} shall be either declared or not present as follows: \begin{itemize} \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. @@ -2148,7 +2148,7 @@ \pnum For the \tcode{common_reference} trait applied to a parameter pack -\tcode{T} of types, the member \tcode{type} shall be either defined or not +\tcode{T} of types, the member \tcode{type} shall be either declared or not present as follows: \begin{itemize} \item If \tcode{sizeof...(T)} is zero, there shall be no member \tcode{type}. @@ -2218,7 +2218,7 @@ \pnum \begin{example} -Given these definitions: +Given these declarations: \begin{codeblock} using PF1 = bool (&)(); using PF2 = short (*)(long); From ce90af8b9137707c2ab9a1f0f877c1b3bdf791b2 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:03:49 +0800 Subject: [PATCH 10/27] [ratio.si] Use "declare" for typedef-names --- source/meta.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/meta.tex b/source/meta.tex index 33d021569d..ea0cb4ac6b 100644 --- a/source/meta.tex +++ b/source/meta.tex @@ -2779,5 +2779,5 @@ \tcode{ronna}, and \tcode{quetta}, if both of the constants used in its specification are representable by \tcode{intmax_t}, the typedef is -defined; if either of the constants is not representable by \tcode{intmax_t}, -the typedef is not defined. +declared; if either of the constants is not representable by \tcode{intmax_t}, +the typedef is not declared. From b88485a6ee24b99da27d7d10b865d6ccde2eae2b Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:12:12 +0800 Subject: [PATCH 11/27] [readable.traits] Use "declare" for typedef-names --- source/iterators.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/iterators.tex b/source/iterators.tex index e1c8f73ad0..db5b477b2d 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -876,7 +876,7 @@ \pnum \begin{note} -Some legacy output iterators define a nested type named \tcode{value_type} +Some legacy output iterators declare a nested type named \tcode{value_type} that is an alias for \keyword{void}. These types are not \libconcept{indirectly_readable} and have no associated value types. From d831efd624fb4b7bdeb204994a05e5337ef89882 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:14:51 +0800 Subject: [PATCH 12/27] [iterator.traits] Use "declare" for typedef-names --- source/iterators.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/iterators.tex b/source/iterators.tex index db5b477b2d..5803182c2e 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -903,7 +903,7 @@ \begin{codeblock} iterator_traits::iterator_category \end{codeblock} -be defined as the iterator's iterator category. +be declared as the iterator's iterator category. In addition, the types \indexlibrarymember{pointer}{iterator_traits}% \indexlibrarymember{reference}{iterator_traits}% @@ -911,7 +911,7 @@ iterator_traits::pointer iterator_traits::reference \end{codeblock} -shall be defined as the iterator's pointer and reference types; +shall be declared as the iterator's pointer and reference types; that is, for an iterator object \tcode{a} of class type, the same type as @@ -929,7 +929,7 @@ iterator_traits::difference_type iterator_traits::reference \end{codeblock} -may be defined as \keyword{void}. +may be declared as \keyword{void}. \pnum The definitions in this subclause make use of the following @@ -1089,7 +1089,7 @@ the \oldconcept{InputIter\-ator} requirements\iref{input.iterators}, an \tcode{iterator_traits} specialization might have \tcode{iterator_concept} denote \tcode{input_iterator_tag} -but not define \tcode{iterator_category}. +but not declare \tcode{iterator_category}. \end{example} \pnum From f2dc3521400a6ba32f8e7c171e21961bc366c9da Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:16:03 +0800 Subject: [PATCH 13/27] [std.iterator.tags] Use "declare" for typedef-names --- source/iterators.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/iterators.tex b/source/iterators.tex index 5803182c2e..bf1b18bb08 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -2757,7 +2757,7 @@ For every iterator of type \tcode{I}, \tcode{iterator_traits::it\-er\-a\-tor_ca\-te\-go\-ry} -shall be defined to be a category tag that describes the +shall be declared to be a category tag that describes the iterator's behavior. Additionally, \tcode{iterator_traits::it\-er\-a\-tor_con\-cept} From d83c4a8f33b3ecc39f698258eb3f2c8050986962 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:28:25 +0800 Subject: [PATCH 14/27] [const.iterators.types] Avoid "defining" `iterator_category` Use "declare" instead. --- source/iterators.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/iterators.tex b/source/iterators.tex index bf1b18bb08..31866e9f53 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -4392,7 +4392,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \tcode{Iterator} models \libconcept{forward_iterator}. In that case, \tcode{basic_const_iterator::iterator_category} denotes From 713c464a2f92c98d59f1829892b5ed69410971df Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:28:58 +0800 Subject: [PATCH 15/27] [move.iterator] Avoid "defining" `iterator_category` Use "declare" instead. --- source/iterators.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/iterators.tex b/source/iterators.tex index 31866e9f53..4c8f6858ec 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -4868,7 +4868,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if the \grammarterm{qualified-id} \tcode{iterator_traits::iterator_category} is valid and denotes a type. From 906d4ffdae98797732e7d8a142426c819bd9b35a Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:29:32 +0800 Subject: [PATCH 16/27] [common.iter.types] Avoid "defining" typedef-names --- source/iterators.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/iterators.tex b/source/iterators.tex index 4c8f6858ec..9ad24226c1 100644 --- a/source/iterators.tex +++ b/source/iterators.tex @@ -5528,7 +5528,7 @@ \pnum The nested \grammarterm{typedef-name} \tcode{iterator_category} of the specialization of \tcode{iterator_traits} for \tcode{common_iterator} -is defined if and only if \tcode{iter_difference_t} is an integral type. +is declared if and only if \tcode{iter_difference_t} is an integral type. In that case, \tcode{iterator_category} denotes \tcode{forward_iterator_tag} if the \grammarterm{qualified-id} \tcode{iterator_traits::iterator_category} From ca427bb3805d3a089b34df51d6c4f8d6a0261104 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:30:51 +0800 Subject: [PATCH 17/27] [range.filter.iterator] Avoid "defining" typedef-names Use declared" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 18fd5561d3..b7bce8e1e4 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -4769,7 +4769,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \tcode{V} models \libconcept{forward_range}. In that case, \tcode{\exposid{iterator}::iterator_category} is defined as follows: From 7c3bee329afe167d632d05e7ae9e7fb083894891 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:31:39 +0800 Subject: [PATCH 18/27] [range.transform.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index b7bce8e1e4..68a793dc20 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -5291,7 +5291,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \exposid{Base} models \libconcept{forward_range}. In that case, \tcode{\exposid{iterator}::iterator_category} is defined as follows: From 7d32fa2739d5b4c463f90c1fb210875c9f17c351 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:32:17 +0800 Subject: [PATCH 19/27] [range.join.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 68a793dc20..51290b1d4f 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -6666,7 +6666,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \exposid{ref-is-glvalue} is \tcode{true}, \exposid{Base} models \libconcept{forward_range}, and \tcode{range_reference_t<\exposid{Base}>} models \libconcept{forward_range}. From 1204281462681df07a4c09fbc28af2ac3d727ab5 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:33:09 +0800 Subject: [PATCH 20/27] [range.join.with.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 51290b1d4f..972ee5b9fe 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -7233,7 +7233,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \exposid{ref-is-glvalue} is \tcode{true}, and \exposid{Base} and \exposid{InnerBase} each model \libconcept{forward_range}. In that case, From feb22ced9bd09696674b209b2eafc35c36b0ec4c Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:45:09 +0800 Subject: [PATCH 21/27] [range.concat.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 972ee5b9fe..cbffb4fde9 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -8825,7 +8825,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \tcode{\exposconcept{all-forward}} is modeled. In that case, From 8de57dc78e7473e22f1bbdf626799acd537bc159 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:33:37 +0800 Subject: [PATCH 22/27] [range.elements.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index cbffb4fde9..520d2dcfdf 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -10109,7 +10109,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \exposid{Base} models \libconcept{forward_range}. In that case, \tcode{iterator_category} is defined as follows: Let \tcode{C} denote the type From 4127c7c09bfb3994cc5754e7a8a934343417069c Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:34:43 +0800 Subject: [PATCH 23/27] [range.zip.transform.iterator] Avoid "defining" `iterator_category` Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 520d2dcfdf..228550c057 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -11887,7 +11887,7 @@ \pnum The member \grammarterm{typedef-name} \tcode{\exposid{iterator}::iterator_category} -is defined if and only if \exposid{Base} models \libconcept{forward_range}. +is declared if and only if \exposid{Base} models \libconcept{forward_range}. In that case, \tcode{\exposid{iterator}::iterator_category} is defined as follows: \begin{itemize} From 1a6239f9fedb8f22141f26aa02861e8bc8371bf2 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Wed, 24 Apr 2024 00:35:44 +0800 Subject: [PATCH 24/27] [range.stride.iterator] Avoid "defining" typedef-names Use "declare" instead. --- source/ranges.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ranges.tex b/source/ranges.tex index 228550c057..4894a28277 100644 --- a/source/ranges.tex +++ b/source/ranges.tex @@ -15588,7 +15588,7 @@ \end{itemize} \pnum -The member \grammarterm{typedef-name} \tcode{iterator_category} is defined +The member \grammarterm{typedef-name} \tcode{iterator_category} is declared if and only if \exposid{Base} models \libconcept{forward_range}. In that case, \tcode{\exposid{iterator}::iterator_category} is defined as follows: From cea6fda3d0967ebf1ff31c1c940e16832e6f1503 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Thu, 17 Oct 2024 19:19:03 +0800 Subject: [PATCH 25/27] [format.string.std] Use "declare" for typedef-names --- source/text.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/text.tex b/source/text.tex index 3dba5b6d82..7b985b0940 100644 --- a/source/text.tex +++ b/source/text.tex @@ -6640,7 +6640,7 @@ \topline \lhdr{Type} & \rhdr{Meaning} \\ \rowsep none, \tcode{p} & -If \tcode{uintptr_t} is defined, +If \tcode{uintptr_t} is declared, \begin{codeblock} to_chars(first, last, reinterpret_cast(value), 16) \end{codeblock} From 8ed6a05e0524135c7d74010d850de2bf610a513d Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:47:45 +0800 Subject: [PATCH 26/27] [atomics.alias] Use "declare" for typedef-names --- source/threads.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/threads.tex b/source/threads.tex index 7bab867c50..00d1536680 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -2752,10 +2752,10 @@ \pnum The type aliases \tcode{atomic_int$N$_t}, \tcode{atomic_uint$N$_t}, \tcode{atomic_intptr_t}, and \tcode{atomic_uintptr_t} -are defined if and only if +are declared if and only if \tcode{int$N$_t}, \tcode{uint$N$_t}, \tcode{intptr_t}, and \tcode{uintptr_t} -are defined, respectively. +are declared, respectively. \pnum \indexlibraryglobal{atomic_signed_lock_free}% From 6fb7a926749382ab4221ad1f774a9464dd693aa5 Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sat, 29 Jul 2023 00:48:28 +0800 Subject: [PATCH 27/27] [stdatomic.h.syn] Use "declare" for typedef-names --- source/threads.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/threads.tex b/source/threads.tex index 00d1536680..122a3a67b8 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -6418,7 +6418,7 @@ \pnum Each of the \grammarterm{using-declaration}s for \tcode{int$N$_t}, \tcode{uint$N$_t}, \tcode{intptr_t}, and \tcode{uintptr_t} -listed above is defined if and only if the implementation defines +listed above is declared if and only if the implementation declares the corresponding \grammarterm{typedef-name} in \ref{atomics.syn}. \pnum