| 38 | struct Data |
| 39 | { |
| 40 | Data(const Type_Info &ti, |
| 41 | chaiscript::detail::Any to, |
| 42 | bool is_ref, |
| 43 | const void *t_void_ptr, |
| 44 | bool t_return_value) |
| 45 | : m_type_info(ti), m_obj(std::move(to)), m_data_ptr(ti.is_const()?nullptr:const_cast<void *>(t_void_ptr)), m_const_data_ptr(t_void_ptr), |
| 46 | m_is_ref(is_ref), m_return_value(t_return_value) |
| 47 | { |
| 48 | } |
| 49 | |
| 50 | Data &operator=(const Data &rhs) |
| 51 | { |