Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ ~optional
Method
~optional
01.32-optional5/main.cpp:39–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
requires NotTriviallyDestructible<T> and HasRelease<T>;
38
39
~optional() = default;
40
41
optional(const optional&)
42
requires std::is_copy_constructible_v<T>
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected