Compiler Error C2088
'operator' : illegal for 'class-key'
The operator was not defined for the structure or union. This error is only valid for C code.
The following sample generates C2088 three times:
// C2088.c
struct S {
int m_i;
} s;
int main() {
int i = s * 1; // C2088
struct S s2 = +s; // C2088
s++; // C2088
}
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