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.
'constructor': a constructor cannot be 'keyword'
Remarks
A constructor was declared incorrectly. See Override Specifiers for more information.
Example
The following example generates C3085.
// C3085.cpp
// compile with: /c /clr
ref struct S {
S() abstract; // C3085
S(S%) abstract; // C3085
};
ref struct T {
T() sealed {} // C3085
T(T%) sealed {} // C3085
};