MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / assign

Method assign

include/chaiscript/dispatchkit/boxed_value.hpp:218–222  ·  view source on GitHub ↗

Copy the values stored in rhs.m_data to m_data. m_data pointers are not shared in this case

Source from the content-addressed store, hash-verified

216 /// Copy the values stored in rhs.m_data to m_data.
217 /// m_data pointers are not shared in this case
218 Boxed_Value assign(const Boxed_Value &rhs)
219 {
220 (*m_data) = (*rhs.m_data);
221 return *this;
222 }
223
224 const Type_Info &get_type_info() const noexcept
225 {

Callers 7

build_matchMethod · 0.45
eval_internalMethod · 0.45
ptr_assignFunction · 0.45
unknown_assignMethod · 0.45
bootstrapMethod · 0.45
set_globalMethod · 0.45
set_localsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected