Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
is
Function · 0.50
is_none
Function · 0.50
ref_count
Function · 0.50
begin
Method · 0.50
operator[]
Method · 0.50
attr
Method · 0.50
operator*
Method · 0.50
str
Method · 0.50
get_type
Method · 0.50
rich_compare
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected