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

Method construct_value

include/experimental/expected.hpp:717–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715 enable_if_t<is_constructible_v<T, Args &&...>> * = nullptr,
716 bool NoExcept = is_nothrow_constructible_v<T, Args &&...>>
717 void construct_value(Args &&...args) noexcept(NoExcept) {
718 new (addressof(base::m_val)) T(std::forward<Args>(args)...);
719 base::m_has_val = true;
720 }
721 template <class... Args,
722 enable_if_t<is_constructible_v<E, Args &&...>> * = nullptr,
723 bool NoExcept = is_nothrow_constructible_v<E, Args &&...>>

Callers 8

assign_valueMethod · 0.45
assignMethod · 0.45
expected_copy_baseMethod · 0.45
expected_move_baseMethod · 0.45
expectedMethod · 0.45
expectedClass · 0.45
expectedFunction · 0.45
swapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected