This documentation is archived and is not being maintained.

25.4 Non-Public Inheritance

Visual Studio .NET 2003

The common language runtime has no representation for non-public inheritance.

Example

public __gc class B { public public: int i; };
public __gc class D : private B {}; // error 
Show: