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

Method construct

src/include/expected.hpp:700–703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698 using expected_storage_base<T, E>::expected_storage_base;
699
700 template <class... Args> void construct(Args &&...args) noexcept {
701 new (std::addressof(this->m_val)) T(std::forward<Args>(args)...);
702 this->m_has_val = true;
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());

Callers 3

expectedClass · 0.45
expected.hppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected