Skip to content

Commit 63e176c

Browse files
eisenwavetkoeppe
authored andcommitted
LWG4422 meta::access_context should be a consteval-only type
Editorial note: * Inserted the words "The type" at the beginning of the sentence both to avoid starting a sentence with a symbol and to improve paragraph composition.
1 parent 1440e72 commit 63e176c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source/meta.tex

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5079,8 +5079,8 @@
50795079
\rSec2[meta.reflection.access.context]{Access control context}
50805080

50815081
\pnum
5082-
The \tcode{access_context} class is a non-aggregate type
5083-
that represents a namespace, class, or function
5082+
The class \tcode{access_context}
5083+
represents a namespace, class, or function
50845084
from which queries pertaining to access rules may be performed,
50855085
as well as the designating class\iref{class.access.base}, if any.
50865086

@@ -5106,12 +5106,11 @@
51065106
\end{codeblock}
51075107

51085108
\pnum
5109-
\tcode{access_context} is a structural type.
5109+
The type \tcode{access_context} is a structural, consteval-only, non-aggregate type.
51105110
Two values \tcode{ac1} and \tcode{ac2} of type \tcode{access_context}
51115111
are template-argument-equivalent\iref{temp.type}
5112-
if \tcode{ac1.scope()} and \tcode{ac2.scope()}
5113-
are template-argument-equivalent
5114-
and \tcode{ac1.desig\-nating_class()} and \tcode{ac2.desig\-nating_class()}
5112+
if \tcode{ac1.scope()} and \tcode{ac2.scope()} are template-argument-equivalent
5113+
and \tcode{ac1.designating_class()} and \tcode{ac2.designating_class()}
51155114
are template-argument-equivalent.
51165115

51175116
\begin{itemdecl}

0 commit comments

Comments
 (0)