nngn
Loading...
Searching...
No Matches
nngn::lua::stack_get< std::tuple< Ts... > > Struct Template Reference

Reads a sequence of values from the stack. More...

#include <get.h>

Static Public Member Functions

static std::tuple< Ts... > get (lua_State *L, int i)
 
static std::tuple< Ts... > get (lua_State *L, int i)
 

Detailed Description

template<typename ... Ts>
requires (... && detail::can_get<Ts>)
struct nngn::lua::stack_get< std::tuple< Ts... > >

Reads a sequence of values from the stack.

Each individual value must be readable. Values are read from the range [i, i + sizeof...(Ts)).

Member Function Documentation

◆ get() [1/2]

template<typename ... Ts>
static std::tuple< Ts... > nngn::lua::stack_get< std::tuple< Ts... > >::get ( lua_State *  L,
int  i 
)
inlinestatic

◆ get() [2/2]

template<typename ... Ts>
static std::tuple< Ts... > nngn::lua::stack_get< std::tuple< Ts... > >::get ( lua_State *  L,
int  i 
)
inlinestatic

The documentation for this struct was generated from the following files: