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

Class NotCopyable

01.33-optional6/main.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100struct NotCopyable {
101 NotCopyable(const NotCopyable&) = delete;
102 NotCopyable& operator=(const NotCopyable&) = delete;
103};
104
105struct Not_TriviallyDestructible {
106 ~Not_TriviallyDestructible() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected