nngn
Loading...
Searching...
No Matches
nngn::lua::stack_get< std::optional< T > > Struct Template Reference

Reads a T if a value exists at that index (no type check is performed). More...

#include <get.h>

Static Public Member Functions

static std::optional< Tget (lua_State *L, int i)
 
static std::optional< Tget (lua_State *L, int i)
 

Detailed Description

template<typename T>
struct nngn::lua::stack_get< std::optional< T > >

Reads a T if a value exists at that index (no type check is performed).

Member Function Documentation

◆ get() [1/2]

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

◆ get() [2/2]

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

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