Skip to content

Commit 5d2b60b

Browse files
committed
P2996R13 Reflection for C++26
1 parent 2e12f5e commit 5d2b60b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

source/lib-intro.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,11 @@
368368
and also define the function as deleted.
369369
\end{example}
370370

371+
\item
372+
\constantwhen
373+
the conditions that are required for a call to the function
374+
to be a constant subexpression\iref{defns.const.subexpr}.
375+
371376
\item
372377
\expects
373378
conditions that the function assumes to hold whenever it is called;
@@ -454,6 +459,7 @@
454459
Next, the semantics of the code sequence are determined by the
455460
\Fundescx{Constraints},
456461
\Fundescx{Mandates},
462+
\Fundescx{Constant When},
457463
\Fundescx{Preconditions},
458464
\Fundescx{Hardened preconditions},
459465
\Fundescx{Effects},

source/macros.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@
363363
\newcommand{\required}{\Fundesc{Required behavior}}
364364
\newcommand{\constraints}{\Fundesc{Constraints}}
365365
\newcommand{\mandates}{\Fundesc{Mandates}}
366+
\newcommand{\constantwhen}{\Fundesc{Constant When}}
366367
\newcommand{\expects}{\Fundesc{Preconditions}}
367368
\newcommand{\hardexpects}{\Fundesc{Hardened preconditions}}
368369
\newcommand{\effects}{\Fundesc{Effects}}

0 commit comments

Comments
 (0)