Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ NotCopyable
Class
NotCopyable
01.26-optional1/main.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
};
21
22
struct NotCopyable {
23
NotCopyable(const NotCopyable&) = delete;
24
NotCopyable& operator=(const NotCopyable&) = delete;
25
};
26
27
int main()
28
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected