MCPcopy Create free account
hub / github.com/ThePhD/sol2 / construct

Method construct

include/sol/optional_implementation.hpp:403–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401
402 template <class... Args>
403 void construct(Args&&... args) noexcept {
404 new (std::addressof(this->m_value)) T(std::forward<Args>(args)...);
405 this->m_has_value = true;
406 }
407
408 template <class Opt>
409 void assign(Opt&& rhs) {

Callers 5

optional_copy_baseMethod · 0.45
optional_move_baseMethod · 0.45
optionalFunction · 0.45
emplaceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected