nngn
|
Owning reference to a function on the stack. More...
#include <function.h>
Public Member Functions | |
function_value (const function_value &)=delete | |
function_value & | operator= (const function_value &)=delete |
function_value (function_value &&) noexcept=default | |
function_value & | operator= (function_value &&) noexcept=default |
~function_value (void)=default | |
value (const value &)=delete | |
value (value_view v) | |
value (value &&rhs) noexcept | |
Public Member Functions inherited from nngn::lua::value | |
value (const value &)=delete | |
value & | operator= (const value &)=delete |
value (value_view v) | |
value (value &&rhs) noexcept | |
value & | operator= (value &&rhs) noexcept |
~value (void) | |
value_view | release (void) |
template<typename R = value> | |
R | push (void) const |
value | remove (void) |
value_view ()=default | |
value_view (const value_view &)=default | |
value_view (value_view &&) noexcept=default | |
value_view (lua_State *L, int i) | |
value_view (state_view l, int i) | |
Public Member Functions inherited from nngn::lua::value_view | |
value_view ()=default | |
value_view (const value_view &)=default | |
value_view & | operator= (const value_view &)=default |
value_view (value_view &&) noexcept=default | |
value_view & | operator= (value_view &&) noexcept=default |
value_view (lua_State *L, int i) | |
value_view (state_view l, int i) | |
~value_view (void)=default | |
state_view | state (void) const |
state_view | release (void) |
int | index (void) const |
Lua stack index. | |
type | get_type (void) const |
Type of value at index i . | |
bool | is_nil (void) const |
auto | to_string (void) const |
void | get (lua_State *L, int i) |
template<typename T > requires (detail::can_get<T>) | |
T | get (void) const |
int | push (void) const |
template<typename R = value_view> | |
R | push (void) const |
template<typename T > | |
operator T (void) const | |
Public Member Functions inherited from nngn::lua::detail::function_base< function_value > | |
void | operator() (auto &&...args) const |
Pushes each argument onto the stack and calls the function. | |
Owning reference to a function on the stack.
|
delete |
|
defaultnoexcept |
|
default |
|
delete |
|
defaultnoexcept |
|
inlinenoexcept |
|
inline |