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

Class NotCopyable

01.29-optional4/main.cpp:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71#endif
72
73struct NotCopyable {
74 NotCopyable(const NotCopyable&) = delete;
75 NotCopyable& operator=(const NotCopyable&) = delete;
76};
77
78struct Not_TriviallyDestructible {
79 ~Not_TriviallyDestructible() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected