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

Method optional

01.27-optional2/main.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template<typename T>
16optional<T>::optional(const optional<T>&)
17 requires std::is_copy_constructible_v<T>
18{}
19
20struct NotCopyable {
21 NotCopyable(const NotCopyable&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected