| 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 | { |