MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / transform

Method transform

crates/cpp/test_headers/expected.hpp:1382–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380#if defined(TL_EXPECTED_CXX14) && !defined(TL_EXPECTED_GCC49) && \
1381 !defined(TL_EXPECTED_GCC54) && !defined(TL_EXPECTED_GCC55)
1382 template <class F> TL_EXPECTED_11_CONSTEXPR auto transform(F &&f) & {
1383 return expected_map_impl(*this, std::forward<F>(f));
1384 }
1385 template <class F> TL_EXPECTED_11_CONSTEXPR auto transform(F &&f) && {
1386 return expected_map_impl(std::move(*this), std::forward<F>(f));
1387 }

Callers

nothing calls this directly

Calls 1

expected_map_implFunction · 0.85

Tested by

no test coverage detected