Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4181

qualifier applied to reference type; ignored

A qualifier, such as const, is applied to a reference type defined by typedef.

Example

// C4181.cpp
// compile with: /W1 /LD
typedef int &RefInt;
int i;
const RefInt cri = i;   // C4181
Show:
© 2015 Microsoft