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

Method B

base_code/virtual_public.cpp:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17public:
18 B(int data) : A(data), mb(data) { cout << "B()" << endl; }
19 ~B() { cout << "~B()" << endl; }
20protected:
21 int mb;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected