Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ ~Constructable
Method
~Constructable
dnn/test/common/small_vector.cpp:81–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
~Constructable() {
82
EXPECT_TRUE(m_constructed);
83
++num_deconstructor_calls;
84
m_constructed = false;
85
destroyed_mem.insert(this);
86
}
87
88
Constructable& operator=(const Constructable& src) {
89
EXPECT_TRUE(m_constructed);
Callers
nothing calls this directly
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected