| 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> |