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

Method transform_error

src/include/expected.hpp:1469–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1467#if defined(TL_EXPECTED_CXX14) && !defined(TL_EXPECTED_GCC49) && \
1468 !defined(TL_EXPECTED_GCC54) && !defined(TL_EXPECTED_GCC55)
1469 template <class F> TL_EXPECTED_11_CONSTEXPR auto transform_error(F &&f) & {
1470 return map_error_impl(*this, std::forward<F>(f));
1471 }
1472 template <class F> TL_EXPECTED_11_CONSTEXPR auto transform_error(F &&f) && {
1473 return map_error_impl(std::move(*this), std::forward<F>(f));
1474 }

Callers

nothing calls this directly

Calls 1

map_error_implFunction · 0.85

Tested by

no test coverage detected