Public Types | Static Public Attributes | Private Types | List of all members
sol::lua_bind_traits< Signature > Struct Template Reference

#include <sol.hpp>

Inheritance diagram for sol::lua_bind_traits< Signature >:
Inheritance graph
[legend]

Public Types

typedef std::integral_constant< bool, meta::count_for< is_variadic_arguments, typename base_t::args_list >::value !=0 > runtime_variadics_t
 
- Public Types inherited from sol::meta::meta_detail::basic_traits< false, false, void, void >
using arg_at = void_tuple_element_t< i, args_tuple >
 
typedef types< Args... > args_list
 
typedef std::tuple< Args... > args_tuple
 
typedef meta::conditional_t< std::is_void< void >::value, args_list, types< first_type, Args... > > free_args_list
 
typedef meta::conditional_t< std::is_void< void >::value, void(*)(Args...), void(*)(first_type, Args...)> free_function_pointer_type
 
typedef meta::conditional_t< std::is_void< void >::value, void(Args...), void(first_type, Args...)> free_function_type
 
typedef void() function_type(Args...)
 
typedef void object_type
 
typedef void return_type
 
typedef tuple_types< void > returns_list
 
typedef std::remove_pointer_t< free_function_pointer_typesignature_type
 

Static Public Attributes

static const std::size_t arity
 
static const std::size_t free_arity
 
static const std::size_t true_arity = base_t::arity
 
static const std::size_t true_free_arity = base_t::free_arity
 
- Static Public Attributes inherited from sol::meta::meta_detail::basic_traits< false, false, void, void >
static constexpr std::size_t arity
 
static constexpr std::size_t free_arity
 
static constexpr bool has_c_var_arg
 
static constexpr bool is_member_function
 
static constexpr const bool is_noexcept
 

Private Types

typedef meta::bind_traits< Signature > base_t
 

Detailed Description

template<typename Signature>
struct sol::lua_bind_traits< Signature >

Definition at line 8511 of file sol.hpp.

Member Typedef Documentation

◆ base_t

template<typename Signature >
typedef meta::bind_traits<Signature> sol::lua_bind_traits< Signature >::base_t
private

Definition at line 8513 of file sol.hpp.

◆ runtime_variadics_t

template<typename Signature >
typedef std::integral_constant<bool, meta::count_for<is_variadic_arguments, typename base_t::args_list>::value != 0> sol::lua_bind_traits< Signature >::runtime_variadics_t

Definition at line 8516 of file sol.hpp.

Member Data Documentation

◆ arity

template<typename Signature >
const std::size_t sol::lua_bind_traits< Signature >::arity
static
Initial value:
= detail::accumulate_list<std::size_t, 0, lua_size, typename base_t::args_list>::value
- meta::count_for<is_transparent_argument, typename base_t::args_list>::value

Definition at line 8518 of file sol.hpp.

◆ free_arity

template<typename Signature >
const std::size_t sol::lua_bind_traits< Signature >::free_arity
static
Initial value:
= detail::accumulate_list<std::size_t, 0, lua_size, typename base_t::free_args_list>::value
- meta::count_for<is_transparent_argument, typename base_t::args_list>::value

Definition at line 8521 of file sol.hpp.

◆ true_arity

template<typename Signature >
const std::size_t sol::lua_bind_traits< Signature >::true_arity = base_t::arity
static

Definition at line 8517 of file sol.hpp.

◆ true_free_arity

template<typename Signature >
const std::size_t sol::lua_bind_traits< Signature >::true_free_arity = base_t::free_arity
static

Definition at line 8520 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:31