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
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for