Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/CMake
/ optional
Method
optional
Utilities/cmcppdap/include/dap/optional.h:83–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
82
template <typename T>
83
optional<T>::optional(const optional& other) : val(other.val), set(other.set) {}
84
85
template <typename T>
86
optional<T>::optional(optional&& other)
Callers
nothing calls this directly
Calls
3
move
Function · 0.85
has_value
Method · 0.80
value
Method · 0.80
Tested by
no test coverage detected