Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ Not_TriviallyDestructible
Class
Not_TriviallyDestructible
01.29-optional4/main.cpp:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
};
77
78
struct Not_TriviallyDestructible {
79
~Not_TriviallyDestructible() {}
80
};
81
82
static_assert(
83
not std::is_trivially_destructible_v<Not_TriviallyDestructible>);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected