Skip to content

Commit e4bc84c

Browse files
jensmaurertkoeppe
authored andcommitted
[dcl.init.ref] Replace 'type qualifier' with 'cv-qualifier' in example. (#1222)
Fixes #1219.
1 parent 1894a77 commit e4bc84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3650,9 +3650,9 @@
36503650
const double& rcd2 = 2; // \tcode{rcd2} refers to temporary with value \tcode{2.0}
36513651
double&& rrd = 2; // \tcode{rrd} refers to temporary with value \tcode{2.0}
36523652
const volatile int cvi = 1;
3653-
const int& r2 = cvi; // error: type qualifiers dropped
3653+
const int& r2 = cvi; // error: cv-qualifier dropped
36543654
struct A { operator volatile int&(); } a;
3655-
const int& r3 = a; // error: type qualifiers dropped
3655+
const int& r3 = a; // error: cv-qualifier dropped
36563656
// from result of conversion function
36573657
double d2 = 1.0;
36583658
double&& rrd2 = d2; // error: initializer is lvalue of related type

0 commit comments

Comments
 (0)