19 #for $NARGS in range($MAX_ARGS) 
   20 template <$expand('
typename A%d', $NARGS), 
typename ReturnType, 
typename ClassType, 
typename InstanceType>
 
   24     call.
bind(std::ref(*static_cast<ClassType *>(instance)), 0);
 
   28 template <$expand('
typename A%d', $NARGS), 
typename ReturnType, 
typename ClassType, 
typename InstanceType>
 
   29 void CallRegistry::registerCall(InstanceType *instance, 
const std::string &name, ReturnType(ClassType::*method)($expand(
'A%d', $NARGS)) 
const)
 
   32     call.bind(std::ref(*static_cast<ClassType *>(instance)), 0);
 
Callable & bind(ValueType &&val, const size_t argNo)
Definition: CallableImpl.tmpl.hpp:35
 
Definition: Callable.tmpl.hpp:30
 
void registerCall(InstanceType *instance, const std::string &name, ReturnType(ClassType::*method)($expand('A%d', $NARGS)))
Definition: CallRegistryImpl.tmpl.hpp:21
 
virtual void registerCallable(const std::string &name, const Callable &call)=0