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

Method construct_with

src/include/expected.hpp:705–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703 }
704
705 template <class Rhs> void construct_with(Rhs &&rhs) noexcept {
706 new (std::addressof(this->m_val)) T(std::forward<Rhs>(rhs).get());
707 this->m_has_val = true;
708 }
709
710 template <class... Args> void construct_error(Args &&...args) noexcept {
711 new (std::addressof(this->m_unexpect))

Callers 2

expected_copy_baseMethod · 0.45
expected_move_baseMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected