Compiler Error C3210
'type' : access declaration can only be applied to a base class member
A using declaration was specified incorrectly.
Example
The following sample generates C3210.
// C3210.cpp
// compile with: /c
struct A {
protected:
int i;
};
struct B {
using A::i; // C3210
};
struct C : public A {
using A::i; // OK
};
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