MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / noexcept

Function noexcept

include/experimental/expected.hpp:173–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 template <class Err = E, enable_if_t<is_assignable_v<E, Err &&>> * = nullptr,
172 bool NoExcept = is_nothrow_assignable_v<E, Err &&>>
173 constexpr unexpected &operator=(unexpected<Err> &&e) noexcept(NoExcept) {
174 m_val = std::move(e.m_val);
175 return *this;
176 }
177 constexpr const E &value() const &noexcept { return m_val; }
178 constexpr E &value() &noexcept { return m_val; }
179 constexpr E &&value() &&noexcept { return std::move(m_val); }

Callers 3

operator()Method · 0.85
unexpectedClass · 0.85
expected.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected