Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ optional
Method
optional
01.24-optional0/main.cpp:36–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
template<typename T>
35
template<typename U, class>
36
optional<T>::optional(const U&)
37
{}
38
39
// #A A struct with delete copy operations
40
struct NotCopyable {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected