description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 1) C4227 |
Compiler Warning (level 1) C4227 |
11/04/2016 |
|
|
78f98374-c00b-4000-aefa-1b1c67b4666b |
anachronism used : qualifiers on reference are ignored
Using qualifiers like const
or volatile
with C++ references is an outdated practice.
// C4227.cpp
// compile with: /W1 /c
int j = 0;
int &const i = j; // C4227