Skip to content

Commit 0539c5e

Browse files
jensmaurertkoeppe
authored andcommitted
[macros,structure.specifications] Add 'Result' element
1 parent 88541f7 commit 0539c5e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

source/lib-intro.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,15 @@
349349
the conditions (sometimes termed observable results)
350350
established by the function.
351351

352+
\item
353+
\result
354+
for a \grammarterm{typename-specifier}, a description of the named type;
355+
for an \grammarterm{expression},
356+
a description of the type of the expression;
357+
the expression is an lvalue if the type is an lvalue reference type,
358+
an xvalue if the type is an rvalue reference type, and
359+
a prvalue otherwise.
360+
352361
\item
353362
\returns
354363
a description of the value(s) returned by the function.

source/macros.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@
339339
\newcommand{\sync}{\Fundesc{Synchronization}}
340340
\newcommand{\implimits}{\Fundesc{Implementation limits}}
341341
\newcommand{\replaceable}{\Fundesc{Replaceable}}
342+
\newcommand{\result}{\Fundesc{Result}}
342343
\newcommand{\returntype}{\Fundesc{Return type}}
343344
\newcommand{\cvalue}{\Fundesc{Value}}
344345
\newcommand{\ctype}{\Fundesc{Type}}

0 commit comments

Comments
 (0)