Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
'identifier' : too many access modifiers on the base class
Remarks
The base class has more than one access modifier. Only one access modifier (public, private, or protected) is allowed.
Example
The following example generates C2502:
// C2502.cpp
// compile with: /c
class A { };
class B { };
class C : private public A { }; // C2502
// OK
class D : private A {};
class E : public A, private B {};