MCPcopy Create free account
hub / github.com/covscript/covscript / ~structure

Method ~structure

include/covscript/core/core.hpp:972–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970 explicit structure(const structure *s) : m_shadow(true), m_id(s->m_id), m_name(s->m_name), m_data(s->m_data) {}
971
972 ~structure()
973 {
974 if (!m_shadow && m_data->exist("finalize"))
975 invoke(m_data->get_var("finalize"), var::make<structure>(this));
976 }
977
978 structure &operator=(structure &&s) noexcept
979 {

Callers

nothing calls this directly

Calls 2

invokeFunction · 0.85
existMethod · 0.45

Tested by

no test coverage detected