Compiler Error C2640
'identifier' : __based modifier illegal on reference
The __based
modifier can be used on pointers only.
The following sample generates C2640:
// C2640.cpp
void f(int i) {
void *vp;
int _based(vp) &vr = I; // C2640
}
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
'identifier' : __based modifier illegal on reference
The __based
modifier can be used on pointers only.
The following sample generates C2640:
// C2640.cpp
void f(int i) {
void *vp;
int _based(vp) &vr = I; // C2640
}