Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
sol::function_detail::overloaded_function< start_skew, Functions > Struct Template Reference

#include <sol.hpp>

Classes

struct  on_success
 

Public Types

typedef std::make_index_sequence< sizeof...(Functions)> indices
 
typedef std::tuple< Functions... > overload_list
 

Public Member Functions

int operator() (lua_State *L)
 
 overloaded_function (Functions... fxs)
 
 overloaded_function (overload_list set)
 

Static Public Member Functions

template<typename Fx , std::size_t I, typename... R, typename... Args>
static int call (types< Fx >, meta::index_value< I >, types< R... >, types< Args... >, lua_State *L, int, int, overload_list &ol)
 

Public Attributes

overload_list overloads
 

Detailed Description

template<int start_skew, typename... Functions>
struct sol::function_detail::overloaded_function< start_skew, Functions >

Definition at line 19619 of file sol.hpp.

Member Typedef Documentation

◆ indices

template<int start_skew, typename... Functions>
typedef std::make_index_sequence<sizeof...(Functions)> sol::function_detail::overloaded_function< start_skew, Functions >::indices

Definition at line 19621 of file sol.hpp.

◆ overload_list

template<int start_skew, typename... Functions>
typedef std::tuple<Functions...> sol::function_detail::overloaded_function< start_skew, Functions >::overload_list

Definition at line 19620 of file sol.hpp.

Constructor & Destructor Documentation

◆ overloaded_function() [1/2]

template<int start_skew, typename... Functions>
sol::function_detail::overloaded_function< start_skew, Functions >::overloaded_function ( overload_list  set)
inline

Definition at line 19624 of file sol.hpp.

◆ overloaded_function() [2/2]

template<int start_skew, typename... Functions>
sol::function_detail::overloaded_function< start_skew, Functions >::overloaded_function ( Functions...  fxs)
inline

Definition at line 19627 of file sol.hpp.

Member Function Documentation

◆ call()

template<int start_skew, typename... Functions>
template<typename Fx , std::size_t I, typename... R, typename... Args>
static int sol::function_detail::overloaded_function< start_skew, Functions >::call ( types< Fx >  ,
meta::index_value< I >  ,
types< R... >  ,
types< Args... >  ,
lua_State L,
int  ,
int  ,
overload_list ol 
)
inlinestatic

Definition at line 19631 of file sol.hpp.

◆ operator()()

template<int start_skew, typename... Functions>
int sol::function_detail::overloaded_function< start_skew, Functions >::operator() ( lua_State L)
inline

Definition at line 19644 of file sol.hpp.

Member Data Documentation

◆ overloads

template<int start_skew, typename... Functions>
overload_list sol::function_detail::overloaded_function< start_skew, Functions >::overloads

Definition at line 19622 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:32