Skip to content

Commit 4394588

Browse files
jensmaurerzygoloid
authored andcommitted
[conv.qual] Fix example for cv-decomposition.
After CWG2051, a cv-decomposition can also be a no-op.
1 parent f038d86 commit 4394588

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/expressions.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,11 @@
717717
the cv-qualifiers $\cv{}_i$ of the array.
718718
\begin{example}
719719
The type denoted by the \grammarterm{type-id} \tcode{const int **}
720-
has two cv-decompositions,
721-
taking \tcode{U} as ``\tcode{int}'' and as ``pointer to \tcode{const int}''.
720+
has three cv-decompositions,
721+
taking \tcode{U}
722+
as ``\tcode{int}'',
723+
as ``pointer to \tcode{const int}'', and
724+
as ``pointer to pointer to \tcode{const int}''.
722725
\end{example}
723726
The $n$-tuple of cv-qualifiers after the first one
724727
in the longest cv-decomposition of \tcode{T}, that is,

0 commit comments

Comments
 (0)