MCPcopy 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

getMethod · 0.80
anyFunction · 0.80
codegen_testMethod · 0.80

Calls 1

or_else_implFunction · 0.85

Tested by 1

codegen_testMethod · 0.64