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

Function var

include/chaiscript/dispatchkit/boxed_value.hpp:387–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 /// @sa @ref adding_objects
386 template<typename T>
387 Boxed_Value var(T &&t)
388 {
389 return Boxed_Value(std::forward<T>(t));
390 }
391
392 namespace detail {
393 /// \brief Takes a value, copies it and returns a Boxed_Value object that is immutable

Callers 9

mainFunction · 0.85
mainFunction · 0.85
do_workFunction · 0.85
compiled_tests.cppFile · 0.85
built_in_type_testFunction · 0.85
pointer_testFunction · 0.85
importMethod · 0.85
optimizeMethod · 0.85
call_memberMethod · 0.85

Calls 1

Boxed_ValueClass · 0.70

Tested by 3

do_workFunction · 0.68
built_in_type_testFunction · 0.68
pointer_testFunction · 0.68