Compiler Error C3116
'storage specifier' : invalid storage class for interface method
You used typedef
, register
, or static
as the storage class for an interface method. These storage classes are not permitted on interface members.
The following sample generates C3116:
// C3116.cpp
__interface ImyInterface
{
static void myFunc(); // C3116
};
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