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

Function fun

include/chaiscript/dispatchkit/register_function.hpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 /// \sa \ref adding_functions
42 template<typename T>
43 Proxy_Function fun(const T &t)
44 {
45 typedef typename dispatch::detail::Callable_Traits<T>::Signature Signature;
46
47 return Proxy_Function(
48 chaiscript::make_shared<dispatch::Proxy_Function_Base, dispatch::Proxy_Function_Callable_Impl<Signature, T>>(t));
49 }
50
51
52 template<typename Ret, typename ... Param>

Callers 15

mainFunction · 0.85
ResetStateMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
get_moduleMethod · 0.85
compiled_tests.cppFile · 0.85
mainFunction · 0.85
libraryMethod · 0.85
add_classFunction · 0.85

Calls 1

bind_firstFunction · 0.85

Tested by 4

ResetStateMethod · 0.68
get_moduleMethod · 0.68
mainFunction · 0.68