MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / Derived1

Class Derived1

base_code/derived_base.cpp:19–22  ·  view source on GitHub ↗

默认为私有继承

Source from the content-addressed store, hash-verified

17
18// 默认为私有继承
19class Derived1 : Base1 {
20public:
21 void test2() { cout << "value is " << value << endl; }
22};
23
24class Base {
25public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected