nngn
Loading...
Searching...
No Matches
nngn::lua::detail::function_base< CRTP > Struct Template Reference

Reference to a function on the stack. More...

#include <function.h>

Public Member Functions

void operator() (auto &&...args) const
 Pushes each argument onto the stack and calls the function.
 
void operator() (auto &&...args) const
 Pushes each argument onto the stack and calls the function.
 

Detailed Description

template<typename CRTP>
struct nngn::lua::detail::function_base< CRTP >

Reference to a function on the stack.

Can be called.

Member Function Documentation

◆ operator()() [1/2]

template<typename CRTP >
void nngn::lua::detail::function_base< CRTP >::operator() ( auto &&...  args) const

Pushes each argument onto the stack and calls the function.

◆ operator()() [2/2]

template<typename CRTP >
void nngn::lua::detail::function_base< CRTP >::operator() ( auto &&...  args) const

Pushes each argument onto the stack and calls the function.


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