#include <sol.hpp>
Public Types | |
template<std::size_t i> | |
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< T >::value, args_list, types< first_type, Args... > > | free_args_list |
typedef meta::conditional_t< std::is_void< T >::value, R(*)(Args...), R(*)(first_type, Args...)> | free_function_pointer_type |
typedef meta::conditional_t< std::is_void< T >::value, R(Args...), R(first_type, Args...)> | free_function_type |
typedef R() | function_type(Args...) |
typedef T | object_type |
typedef R | return_type |
typedef tuple_types< R > | returns_list |
typedef std::remove_pointer_t< free_function_pointer_type > | signature_type |
Static Public Attributes | |
static constexpr std::size_t | arity = sizeof...(Args) |
static constexpr std::size_t | free_arity = sizeof...(Args) + static_cast<std::size_t>(!std::is_void<T>::value) |
static constexpr bool | has_c_var_arg = has_c_variadic |
static constexpr bool | is_member_function = std::is_void<T>::value |
static constexpr const bool | is_noexcept = it_is_noexcept |
Private Types | |
using | first_type = meta::conditional_t< std::is_void< T >::value, int, T > & |
using sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::arg_at = void_tuple_element_t<i, args_tuple> |
typedef types<Args...> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::args_list |
typedef std::tuple<Args...> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::args_tuple |
|
private |
typedef meta::conditional_t<std::is_void<T>::value, args_list, types<first_type, Args...> > sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::free_args_list |
typedef meta::conditional_t<std::is_void<T>::value, R (*)(Args...), R (*)(first_type, Args...)> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::free_function_pointer_type |
typedef meta::conditional_t<std::is_void<T>::value, R(Args...), R(first_type, Args...)> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::free_function_type |
typedef R() sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::function_type(Args...) |
typedef T sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::object_type |
typedef R sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::return_type |
typedef tuple_types<R> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::returns_list |
typedef std::remove_pointer_t<free_function_pointer_type> sol::meta::meta_detail::basic_traits< it_is_noexcept, has_c_variadic, T, R, Args >::signature_type |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |