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

Method or_else

src/include/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

nothing calls this directly

Calls 1

or_else_implFunction · 0.85

Tested by

no test coverage detected