variant call_r(std::string const &name, int nargs) {
lua_call(state_, nargs, 1);
return pop();
}
template<typename T, typename... Args>
variant call_r(std::string const &name, int nargs, T t, Args... args) {
boost::apply_visitor(push_variant(state_), t);
return call_r(name, nargs + 1, args);
}
template<typename... Args>
variant call(std::string const &name, Args... args) {
call_r(name, 0, args);
}