Skip to content

Commit 7f2022b

Browse files
committed
[meta.reflection.queries] Fixes "Constant When" elements of "dealias" and "template_of".
This seems to have been a mistake during application of P2996R13.
1 parent c27dd93 commit 7f2022b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/meta.tex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4805,6 +4805,10 @@
48054805
\end{itemdecl}
48064806

48074807
\begin{itemdescr}
4808+
\pnum
4809+
\constantwhen
4810+
\tcode{r} represents an entity.
4811+
48084812
\pnum
48094813
\returns
48104814
A reflection representing the underlying entity of what \tcode{r} represents.
@@ -4825,6 +4829,10 @@
48254829
\end{itemdecl}
48264830

48274831
\begin{itemdescr}
4832+
\pnum
4833+
\constantwhen
4834+
\tcode{has_template_arguments(r)} is \tcode{true}.
4835+
48284836
\pnum
48294837
\returns
48304838
\tcode{true} if \tcode{r} represents a specialization of a
@@ -4833,11 +4841,6 @@
48334841
class template, or
48344842
an alias template.
48354843
Otherwise, \tcode{false}.
4836-
4837-
\pnum
4838-
\throws
4839-
\tcode{meta::exception} unless
4840-
\tcode{r} represents an entity.
48414844
\end{itemdescr}
48424845

48434846
\indexlibraryglobal{template_of}%

0 commit comments

Comments
 (0)