MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / value

Method value

include/stdexec/__detail/__optional.hpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 constexpr auto value() & -> _Tp&
129 {
130 if (!__has_value_)
131 {
132 STDEXEC_THROW(__bad_optional_access());
133 }
134 return __value_.__get();
135 }
136
137 constexpr auto value() const & -> _Tp const &
138 {

Callers 2

complete_if_none_activeFunction · 0.45

Calls 2

__getMethod · 0.45

Tested by

no test coverage detected