MCPcopy Create free account
hub / github.com/davisking/dlib / derived

Class derived

dlib/test/smart_pointers.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 };
58
59 struct derived : public base
60 {
61 derived() { ++counter; }
62 ~derived() { --counter; }
63 };
64
65 int deleter_called = 0;
66 void deleter ( derived* p) { ++deleter_called; delete p; }

Callers 11

operator()Method · 0.50
isFunction · 0.50
is_noneFunction · 0.50
ref_countFunction · 0.50
beginMethod · 0.50
operator[]Method · 0.50
attrMethod · 0.50
operator*Method · 0.50
strMethod · 0.50
get_typeMethod · 0.50
rich_compareMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected