הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'function' : member function not allowed in anonymous union
Remarks
An anonymous union cannot have member functions.
Example
The following example generates C2627:
// C2627.cpp
int main() {
union { void f(){} }; // C2627
union X { void f(){} };
}