Skip to content

Commit e028d70

Browse files
jensmaurertkoeppe
authored andcommitted
[dcl.ref] Introduce the phrase 'reference collapsing' in a note. (#1083)
Fixes #546.
1 parent 5e50659 commit e028d70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/declarators.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,9 @@
807807
or a \grammarterm{decltype-specifier}~(\ref{dcl.type.simple}) denotes a type \tcode{TR} that
808808
is a reference to a type \tcode{T}, an attempt to create the type ``lvalue reference to \cv{}
809809
\tcode{TR}'' creates the type ``lvalue reference to \tcode{T}'', while an attempt to create
810-
the type ``rvalue reference to \cv{} \tcode{TR}'' creates the type \tcode{TR}. \begin{example}
810+
the type ``rvalue reference to \cv{} \tcode{TR}'' creates the type \tcode{TR}.
811+
\begin{note} This rule is known as reference collapsing. \end{note}
812+
\begin{example}
811813

812814
\begin{codeblock}
813815
int i;

0 commit comments

Comments
 (0)