Compiler Warning (level 1) C4227
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Warning (level 1) C4227.
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
Show: