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

Method Data

include/chaiscript/dispatchkit/boxed_value.hpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

is_constMethod · 0.45

Tested by

no test coverage detected