Skip to content

Commit 861365f

Browse files
eisenwavetkoeppe
authored andcommitted
[meta.reflection.queries] Replace "Constant When" with "Throws"
1 parent f6133d7 commit 861365f

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
@@ -4593,10 +4593,6 @@
45934593
\end{itemdecl}
45944594

45954595
\begin{itemdescr}
4596-
\pnum
4597-
\constantwhen
4598-
\tcode{r} represents a function or a function type.
4599-
46004596
\pnum
46014597
\returns
46024598
\begin{itemize}
@@ -4610,6 +4606,11 @@
46104606
in parameter-type-list\iref{dcl.fct} of $T$,
46114607
in the order in which they appear in the parameter-type-list.
46124608
\end{itemize}
4609+
4610+
\pnum
4611+
\throws
4612+
\tcode{meta::exception} unless
4613+
\tcode{r} represents a function or a function type.
46134614
\end{itemdescr}
46144615

46154616
\indexlibraryglobal{variable_of}%
@@ -4619,7 +4620,12 @@
46194620

46204621
\begin{itemdescr}
46214622
\pnum
4622-
\constantwhen
4623+
\returns
4624+
The reflection of the parameter variable corresponding to \tcode{r}.
4625+
4626+
\pnum
4627+
\throws
4628+
\tcode{meta::exception} unless
46234629
\begin{itemize}
46244630
\item
46254631
\tcode{r} represents a parameter of a function $F$ and
@@ -4629,10 +4635,6 @@
46294635
is the function parameter scope\iref{basic.scope.param}
46304636
associated with $F$.
46314637
\end{itemize}
4632-
4633-
\pnum
4634-
\returns
4635-
The reflection of the parameter variable corresponding to \tcode{r}.
46364638
\end{itemdescr}
46374639

46384640
\indexlibraryglobal{return_type_of}%
@@ -4641,16 +4643,17 @@
46414643
\end{itemdecl}
46424644

46434645
\begin{itemdescr}
4644-
\pnum
4645-
\constantwhen
4646-
either \tcode{r} represents a function
4647-
and \tcode{\exposid{has-type}(r)} is \tcode{true}
4648-
or \tcode{r} represents a function type.
4649-
46504646
\pnum
46514647
\returns
46524648
The reflection of the return type
46534649
of the function or function type represented by \tcode{r}.
4650+
4651+
\pnum
4652+
\throws
4653+
\tcode{meta::exception}
4654+
either \tcode{r} represents a function
4655+
and \tcode{\exposid{has-type}(r)} is \tcode{true}
4656+
or \tcode{r} represents a function type.
46544657
\end{itemdescr}
46554658

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

0 commit comments

Comments
 (0)