MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / map_error

Method map_error

include/common/expected.hpp:1388–1390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1386#if defined(TL_EXPECTED_CXX14) && !defined(TL_EXPECTED_GCC49) && \
1387 !defined(TL_EXPECTED_GCC54) && !defined(TL_EXPECTED_GCC55)
1388 template <class F> TL_EXPECTED_11_CONSTEXPR auto map_error(F &&f) & {
1389 return map_error_impl(*this, std::forward<F>(f));
1390 }
1391 template <class F> TL_EXPECTED_11_CONSTEXPR auto map_error(F &&f) && {
1392 return map_error_impl(std::move(*this), std::forward<F>(f));
1393 }

Callers

nothing calls this directly

Calls 1

map_error_implFunction · 0.85

Tested by

no test coverage detected