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

Class NotCopyable

01.32-optional5/main.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82struct NotCopyable {
83 NotCopyable(const NotCopyable&) = delete;
84 NotCopyable& operator=(const NotCopyable&) = delete;
85};
86
87struct Not_TriviallyDestructible {
88 ~Not_TriviallyDestructible() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected