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

Class NotCopyable

11.09-notCopyable1/main.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <string>
5
6struct NotCopyable {
7 NotCopyable() = default;
8 NotCopyable(const NotCopyable&) = delete;
9 NotCopyable(NotCopyable&&) = default;
10};
11
12struct Resources {
13 int fileDescriptor;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected