Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ Value
Function
Value
oneflow/maybe/optional.h:267–267 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
265
using Type = std::remove_const_t<T>;
266
267
decltype(auto) Value() & { return storage_.Value(); }
268
269
decltype(auto) Value() && { return std::move(storage_).Value(); }
270
Callers
10
Reset
Method · 0.70
Destory
Method · 0.70
OptionalStorage
Class · 0.70
OptionalStorage<T, std::enable_if_t<std::is_scalar<T>::value>>
Class · 0.70
Emplace
Method · 0.70
operator==
Function · 0.70
operator<
Function · 0.70
operator>
Function · 0.70
ValueOr
Function · 0.70
operator()
Method · 0.70
Calls
1
Value
Method · 0.45
Tested by
no test coverage detected