Luwra
Minimal-overhead Lua wrapper for C++
Static Public Member Functions | List of all members
luwra::ReturnValue< Type > Struct Template Reference

A version of Value for pushing return values onto the stack. ReturnValue inherits push implementations from Value. More...

#include <values.hpp>

Inherited by luwra::ReturnValue< Type & >, luwra::ReturnValue< Type && >, luwra::ReturnValue< const Type >, luwra::ReturnValue< const volatile Type >, and luwra::ReturnValue< volatile Type >.

Static Public Member Functions

template<typename... Args>
static size_t push (State *state, Args &&... args)
 

Detailed Description

template<typename Type>
struct luwra::ReturnValue< Type >

A version of Value for pushing return values onto the stack. ReturnValue inherits push implementations from Value.

Member Function Documentation

◆ push()

template<typename Type >
template<typename... Args>
static size_t luwra::ReturnValue< Type >::push ( State state,
Args &&...  args 
)
inlinestatic