MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / Not_TriviallyDestructible

Class Not_TriviallyDestructible

01.28-optional3/main.cpp:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46};
47
48struct Not_TriviallyDestructible {
49 ~Not_TriviallyDestructible() {}
50};
51
52static_assert(not std::is_trivially_destructible_v<
53 Not_TriviallyDestructible>);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected