Compiler Error C3246
'class' : cannot inherit from 'type' as it has been declared as 'sealed'
A class that is marked as sealed cannot be the base class for any other classes.
The following sample generates C3246:
// C3246_2.cpp
// compile with: /clr /LD
ref class X sealed {};
ref class Y : public X {}; // C3246
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre