Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Simple-XX/SimpleKernel
/ ~Base
Method
~Base
tests/unit_test/sk_unique_ptr_test.cpp:204–204 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
202
TEST_F(UniquePtrTest, Polymorphic) {
203
struct Base {
204
virtual ~Base() = default;
205
virtual auto GetValue() -> int { return 0; }
206
};
207
struct Derived : Base {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected