Skip to content

Commit fd685e9

Browse files
committed
[meta.reflection.queries] Replace "Constant When" with "Throws"
1 parent 221acbb commit fd685e9

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

source/meta.tex

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4600,10 +4600,6 @@
46004600
\end{itemdecl}
46014601

46024602
\begin{itemdescr}
4603-
\pnum
4604-
\constantwhen
4605-
\tcode{r} represents a function or a function type.
4606-
46074603
\pnum
46084604
\returns
46094605
\begin{itemize}
@@ -4617,6 +4613,11 @@
46174613
in parameter-type-list\iref{dcl.fct} of $T$,
46184614
in the order in which they appear in the parameter-type-list.
46194615
\end{itemize}
4616+
4617+
\pnum
4618+
\throws
4619+
\tcode{meta::exception} unless
4620+
\tcode{r} represents a function or a function type.
46204621
\end{itemdescr}
46214622

46224623
\indexlibraryglobal{variable_of}%
@@ -4626,7 +4627,12 @@
46264627

46274628
\begin{itemdescr}
46284629
\pnum
4629-
\constantwhen
4630+
\returns
4631+
The reflection of the parameter variable corresponding to \tcode{r}.
4632+
4633+
\pnum
4634+
\throws
4635+
\tcode{meta::exception} unless
46304636
\begin{itemize}
46314637
\item
46324638
\tcode{r} represents a parameter of a function $F$ and
@@ -4636,10 +4642,6 @@
46364642
is the function parameter scope\iref{basic.scope.param}
46374643
associated with $F$.
46384644
\end{itemize}
4639-
4640-
\pnum
4641-
\returns
4642-
The reflection of the parameter variable corresponding to \tcode{r}.
46434645
\end{itemdescr}
46444646

46454647
\indexlibraryglobal{return_type_of}%
@@ -4648,16 +4650,17 @@
46484650
\end{itemdecl}
46494651

46504652
\begin{itemdescr}
4651-
\pnum
4652-
\constantwhen
4653-
either \tcode{r} represents a function
4654-
and \tcode{\exposid{has-type}(r)} is \tcode{true}
4655-
or \tcode{r} represents a function type.
4656-
46574653
\pnum
46584654
\returns
46594655
The reflection of the return type
46604656
of the function or function type represented by \tcode{r}.
4657+
4658+
\pnum
4659+
\throws
4660+
\tcode{meta::exception}
4661+
either \tcode{r} represents a function
4662+
and \tcode{\exposid{has-type}(r)} is \tcode{true}
4663+
or \tcode{r} represents a function type.
46614664
\end{itemdescr}
46624665

46634666
\rSec2[meta.reflection.access.context]{Access control context}

0 commit comments

Comments
 (0)