Poznámka
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete sa skúsiť prihlásiť alebo zmeniť adresáre.
Na prístup k tejto stránke sa vyžaduje oprávnenie. Môžete skúsiť zmeniť adresáre.
'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(){} };
}