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

Function main

01.27-optional2/main.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23};
24
25int main()
26{
27 static_assert(
28 not std::is_copy_constructible_v<optional<NotCopyable>>);
29 static_assert(std::is_copy_constructible_v<optional<int>>);
30}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected