Luwra
Minimal-overhead Lua wrapper for C++
Static Public Member Functions | List of all members
luwra::Value< std::function< Ret(Args...)> > Struct Template Reference

Enables reading Lua functions as std::function More...

Static Public Member Functions

static std::function< Ret(Args...)> read (State *state, int index)
 

Detailed Description

template<typename Ret, typename... Args>
struct luwra::Value< std::function< Ret(Args...)> >

Enables reading Lua functions as std::function

Member Function Documentation

§ read()

template<typename Ret , typename... Args>
static std::function<Ret (Args...)> luwra::Value< std::function< Ret(Args...)> >::read ( State state,
int  index 
)
inlinestatic