MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / or_else

Function or_else

include/experimental/expected.hpp:1673–1675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1671 }
1672
1673 template <class F> constexpr auto or_else(F &&f) & {
1674 return detail::expected_or_else_impl(*this, std::forward<F>(f));
1675 }
1676 template <class F> constexpr auto or_else(F &&f) && {
1677 return detail::expected_or_else_impl(std::move(*this), std::forward<F>(f));
1678 }

Callers

nothing calls this directly

Calls 1

expected_or_else_implFunction · 0.85

Tested by

no test coverage detected