Skip to content

Commit 09a9a41

Browse files
committed
[meta.reflection.layout] Turn "Throws:" element into an "all of the following are required" list.
This restores the meaning of the multiple sentences, which had become unclear after the "Constant When"-to-"Throws" change.
1 parent 8e05e24 commit 09a9a41

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/meta.tex

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5727,6 +5727,9 @@
57275727
\pnum
57285728
\throws
57295729
\tcode{meta::exception} unless
5730+
all of the following conditions are met:
5731+
\begin{itemize}
5732+
\item
57305733
\tcode{dealias(r)} is a reflection of a
57315734
type,
57325735
object,
@@ -5736,8 +5739,10 @@
57365739
direct base class relationship, or
57375740
data member description $(T, N, A, W, \mathit{NUA})$\iref{class.mem.general}
57385741
where $W$ is not $\bot$.
5742+
\item
57395743
If \tcode{dealias(r)} represents a type,
57405744
then \tcode{is_complete_type(r)} is \tcode{true}.
5745+
\end{itemize}
57415746
\end{itemdescr}
57425747

57435748
\indexlibraryglobal{alignment_of}%
@@ -5774,15 +5779,20 @@
57745779
\pnum
57755780
\throws
57765781
\tcode{meta::exception} unless
5782+
all of the following conditions are met:
5783+
\begin{itemize}
5784+
\item
57775785
\tcode{dealias(r)} is a reflection of a
57785786
type,
57795787
object,
57805788
variable of non-reference type,
57815789
non-static data member that is not a bit-field,
57825790
direct base class relationship, or
57835791
data member description.
5792+
\item
57845793
If \tcode{dealias(r)} represents a type,
57855794
then \tcode{is_complete_type(r)} is \tcode{true}.
5795+
\end{itemize}
57865796
\end{itemdescr}
57875797

57885798
\indexlibraryglobal{bit_size_of}%
@@ -5812,6 +5822,9 @@
58125822
\pnum
58135823
\throws
58145824
\tcode{meta::exception} unless
5825+
all of the following conditions are met:
5826+
\begin{itemize}
5827+
\item
58155828
\tcode{dealias(r)} is a reflection of a
58165829
type,
58175830
object,
@@ -5821,8 +5834,10 @@
58215834
unnamed bit-field,
58225835
direct base class relationship, or
58235836
data member description.
5837+
\item
58245838
If \tcode{dealias(r)} represents a type $T$,
58255839
there is a point within the evaluation context from which $T$ is not incomplete.
5840+
\end{itemize}
58265841
\end{itemdescr}
58275842

58285843
\rSec2[meta.reflection.extract]{Value extraction}

0 commit comments

Comments
 (0)