Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wit-bindgen
/ or_else
Method
or_else
crates/cpp/test_headers/expected.hpp:1518–1520 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1516
}
1517
1518
template <class F> expected constexpr or_else(F &&f) const & {
1519
return or_else_impl(*this, std::forward<F>(f));
1520
}
1521
1522
#ifndef TL_EXPECTED_NO_CONSTRR
1523
template <class F> expected constexpr or_else(F &&f) const && {
Callers
3
get
Method · 0.80
any
Function · 0.80
codegen_test
Method · 0.80
Calls
1
or_else_impl
Function · 0.85
Tested by
1
codegen_test
Method · 0.64