|
void | sol::detail::accumulate_and_mark (const std::string &n, std::string &aux_message, int &marker) |
|
template<typename T > |
int | sol::detail::adl_default_to_string (std::false_type, lua_State *L) |
|
template<typename T > |
int | sol::detail::adl_default_to_string (std::true_type, lua_State *L) |
|
constexpr std::uintptr_t | sol::detail::align (std::size_t alignment, std::uintptr_t ptr, std::size_t &space) |
|
void * | sol::detail::align (std::size_t alignment, void *ptr, std::size_t &space) |
|
constexpr std::uintptr_t | sol::detail::align_one (std::size_t alignment, std::size_t size, std::uintptr_t ptr) |
|
template<typename T > |
void * | sol::detail::align_user (void *ptr) |
|
void * | sol::detail::align_usertype_pointer (void *ptr) |
|
template<typename T , bool pre_aligned = false, bool pre_shifted = false> |
void * | sol::detail::align_usertype_unique (void *ptr) |
|
template<bool pre_aligned = false, bool pre_shifted = false> |
void * | sol::detail::align_usertype_unique_destructor (void *ptr) |
|
template<bool pre_aligned = false, bool pre_shifted = false> |
void * | sol::detail::align_usertype_unique_tag (void *ptr) |
|
template<typename... Args> |
constexpr std::size_t | sol::detail::aligned_space_for () |
|
template<typename... Args> |
constexpr std::size_t | sol::detail::aligned_space_for (std::uintptr_t ptr) |
|
void * | sol::detail::alloc_newuserdata (lua_State *L, std::size_t bytesize) |
|
template<typename Source > |
auto | sol::as_args (Source &&source) |
|
template<typename T > |
auto | sol::as_container (T &&value) |
|
template<typename Sig = function_sig<>, typename... Args> |
auto | sol::as_function (Args &&... args) |
|
template<typename Sig = function_sig<>, typename... Args> |
auto | sol::as_function_reference (Args &&... args) |
|
template<typename T > |
nested< meta::unqualified_t< T > > | sol::as_nested (T &&container) |
|
template<typename T > |
nested< T > | sol::as_nested_ref (T &&container) |
|
template<typename Source > |
auto | sol::as_returns (Source &&source) |
|
template<typename T > |
as_table_t< meta::unqualified_t< T > > | sol::as_table (T &&container) |
|
template<typename T > |
as_table_t< T > | sol::as_table_ref (T &&container) |
|
std::string | sol::associated_type_name (lua_State *L, int index, type t) |
|
bool | sol::detail::attempt_alloc (lua_State *L, std::size_t ptr_align, std::size_t ptr_size, std::size_t value_align, std::size_t allocated_size, void *&pointer_adjusted, void *&data_adjusted) |
|
bool | sol::detail::attempt_alloc_unique (lua_State *L, std::size_t ptr_align, std::size_t ptr_size, std::size_t real_align, std::size_t allocated_size, void *&pointer_adjusted, void *&dx_adjusted, void *&id_adjusted, void *&data_adjusted) |
|
decltype(auto) | sol::detail::base_class_cast_key () |
|
decltype(auto) | sol::detail::base_class_check_key () |
|
decltype(auto) | sol::detail::base_class_index_propogation_key () |
|
decltype(auto) | sol::detail::base_class_new_index_propogation_key () |
|
template<typename Container > |
int | sol::basic_insert_dump_writer (lua_State *, const void *memory, size_t memory_size, void *userdata_pointer) |
|
template<typename F , F fx> |
int | sol::c_call (lua_State *L) |
|
template<typename... Fxs> |
int | sol::c_call (lua_State *L) |
|
template<typename F , F fx> |
int | sol::function_detail::c_call_raw (std::false_type, lua_State *L) |
|
template<typename F , F fx> |
int | sol::function_detail::c_call_raw (std::true_type, lua_State *L) |
|
int | sol::stack::stack_detail::c_lua_next (lua_State *L_) noexcept |
|
int | sol::detail::c_trampoline (lua_State *L, lua_CFunction f) |
|
template<typename Fx , int start = 1, bool is_yielding = false> |
int | sol::function_detail::call (lua_State *L) |
|
template<bool check_args = detail::default_safe_function_calls, typename R , typename... Args, typename Fx , typename... FxArgs> |
decltype(auto) | sol::stack::call (types< R > tr, types< Args... > ta, lua_State *L, Fx &&fx, FxArgs &&... args) |
|
template<bool check_args = detail::default_safe_function_calls, typename R , typename... Args, typename Fx , typename... FxArgs> |
decltype(auto) | sol::stack::call (types< R > tr, types< Args... > ta, lua_State *L, int start, Fx &&fx, FxArgs &&... args) |
|
template<bool checkargs = detail::default_safe_function_calls, std::size_t... I, typename R , typename... Args, typename Fx , typename... FxArgs> |
decltype(auto) | sol::stack::stack_detail::call (types< R >, types< Args... > argument_types_, std::index_sequence< I... > argument_indices_, lua_State *L_, int start_index_, Fx &&fx_, FxArgs &&... args_) |
|
int | sol::detail::call_exception_handler (lua_State *L, optional< const std::exception & > maybe_ex, string_view what) |
|
template<bool check_args = detail::default_safe_function_calls, typename R , typename... Args, typename Fx , typename... FxArgs> |
decltype(auto) | sol::stack::call_from_top (types< R > tr, types< Args... > ta, lua_State *L, Fx &&fx, FxArgs &&... args) |
|
template<bool check_args = detail::default_safe_function_calls, bool clean_stack = true, typename Ret0 , typename... Ret, typename... Args, typename Fx , typename... FxArgs> |
int | sol::stack::call_into_lua (types< Ret0, Ret... > tr, types< Args... > ta, lua_State *L, int start, Fx &&fx, FxArgs &&... fxargs) |
|
template<bool check_args = detail::default_safe_function_calls, bool clean_stack = true, typename Fx , typename... FxArgs> |
int | sol::stack::call_lua (lua_State *L, int start, Fx &&fx, FxArgs &&... fxargs) |
|
template<typename R , typename V , V , typename T > |
int | sol::function_detail::call_set_assignable (std::false_type, T &&, lua_State *L) |
|
template<typename R , typename V , V variable, typename T > |
int | sol::function_detail::call_set_assignable (std::true_type, lua_State *L, T &&mem) |
|
template<typename R , typename V , V , typename T > |
int | sol::function_detail::call_set_variable (std::false_type, lua_State *L, T &&) |
|
template<typename R , typename V , V variable, typename T > |
int | sol::function_detail::call_set_variable (std::true_type, lua_State *L, T &&mem) |
|
template<typename T , bool is_index, bool is_variable, typename F , int start = 1, bool checked = detail::default_safe_function_calls, bool clean_stack = true> |
int | sol::call_detail::call_user (lua_State *L) |
|
template<typename T , bool is_index, bool is_variable, int boost = 0, bool checked = detail::default_safe_function_calls, bool clean_stack = true, typename Fx , typename... Args> |
int | sol::call_detail::call_wrapped (lua_State *L, Fx &&fx, Args &&... args) |
|
template<typename F , F fx> |
int | sol::function_detail::call_wrapper_entry (lua_State *L) noexcept(meta::bind_traits< F >::is_noexcept) |
|
template<typename F , F fx> |
int | sol::function_detail::call_wrapper_function (std::false_type, lua_State *L) |
|
template<typename F , F fx> |
int | sol::function_detail::call_wrapper_function (std::true_type, lua_State *L) |
|
template<typename F , F fx> |
int | sol::function_detail::call_wrapper_variable (std::false_type, lua_State *L) |
|
template<typename V , V variable> |
int | sol::function_detail::call_wrapper_variable (std::true_type, lua_State *L) |
|
template<class , class > |
std::false_type | sol::detail::swap_adl_tests::can_swap (...) noexcept(false) |
|
template<class T , class U , class = decltype(swap(std::declval<T&>(), std::declval<U&>()))> |
std::true_type | sol::detail::swap_adl_tests::can_swap (int) noexcept(noexcept(swap(std::declval< T & >(), std::declval< U & >()))) |
|
template<typename T > |
int | sol::detail::cannot_destroy (lua_State *L) |
|
template<typename T , typename Handler > |
bool | sol::stack::check (lua_State *L, int index, Handler &&handler) |
|
template<typename T , typename Handler > |
bool | sol::stack::check (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T > |
bool | sol::stack::check (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<typename Function , typename Handler > |
bool | sol::stack::stack_detail::check_function_pointer (lua_State *L, int index, Handler &&handler, record &tracking) noexcept |
|
template<typename T , typename Handler > |
decltype(auto) | sol::stack::check_get (lua_State *L, int index, Handler &&handler) |
|
template<typename T , typename Handler > |
decltype(auto) | sol::stack::check_get (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::check_get (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<typename T , typename Handler > |
decltype(auto) | sol::stack::stack_detail::check_get_arg (lua_State *L_, int index_, Handler &&handler_, record &tracking_) |
|
template<typename T , bool poptable = true> |
bool | sol::stack::stack_detail::check_metatable (lua_State *L_, int index=-2) |
|
template<typename Handler > |
bool | sol::stack::stack_detail::check_types (lua_State *, int, Handler &&, record &) |
|
template<typename T , typename... Args, typename Handler > |
bool | sol::stack::stack_detail::check_types (lua_State *L, int firstargument, Handler &&handler, record &tracking) |
|
template<typename... Args, typename Handler > |
bool | sol::stack::stack_detail::check_types (types< Args... >, lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T , typename Handler > |
bool | sol::stack::check_usertype (lua_State *L, int index, Handler &&handler) |
|
template<typename T , typename Handler > |
bool | sol::stack::check_usertype (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T , typename Handler > |
bool | sol::stack::check_usertype (lua_State *L, int index, type, Handler &&handler, record &tracking) |
|
template<typename T > |
bool | sol::stack::check_usertype (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
void | sol::stack::clear (lua_State *L, int table_index) |
|
void | sol::stack::clear (lua_State *L_, stateless_reference &r) |
|
void | sol::stack::clear (lua_State *L_, stateless_stack_reference &r) |
|
void | sol::stack::clear (reference &r) |
|
void | sol::stack::clear (stack_reference &r) |
|
void | sol::detail::clear_entries (const reference ®istry_reference) |
|
void | sol::detail::clear_entries (stack_reference r) |
|
template<typename Left , typename Right > |
constexpr auto | sol::clear_flags (Left left, Right right) noexcept |
|
template<typename T > |
void | sol::u_detail::clear_usertype_registry_names (lua_State *L) |
|
template<typename T > |
void | sol::u_detail::clear_usertype_storage (lua_State *L) |
|
encoded_result< char16_t > | sol::unicode::code_point_to_utf16 (char32_t codepoint) |
|
encoded_result< char32_t > | sol::unicode::code_point_to_utf32 (char32_t codepoint) |
|
encoded_result< char > | sol::unicode::code_point_to_utf8 (char32_t codepoint) |
|
template<typename T , typename Op > |
int | sol::detail::comparsion_operator_wrap (lua_State *L) |
|
template<typename T , bool checked, bool clean_stack, typename... TypeLists> |
int | sol::call_detail::construct (lua_State *L) |
|
template<typename T , typename... TypeLists, typename Match , typename... Args> |
int | sol::call_detail::construct_match (Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<typename T , bool checked, bool clean_stack, typename... TypeLists> |
int | sol::call_detail::construct_trampolined (lua_State *L) |
|
template<typename Ch , typename F > |
void | sol::stack::stack_detail::convert (const char *strb, const char *stre, F &&f) |
|
void | sol::stack::coroutine_create_guard (lua_State *L) |
|
template<typename T > |
usertype_storage< T > & | sol::u_detail::create_usertype_storage (lua_State *L) |
|
int | sol::default_at_panic (lua_State *L) |
|
const std::string & | sol::detail::default_chunk_name () |
|
int | sol::detail::default_exception_handler (lua_State *L, optional< const std::exception & >, string_view what) |
|
const char(& | sol::detail::default_exception_handler_name ())[11] |
|
const char(& | sol::detail::default_handler_name ())[9] |
|
const char(& | sol::detail::default_main_thread_name ())[9] |
|
template<typename T > |
int | sol::detail::default_size (lua_State *L) |
|
template<typename T > |
int | sol::detail::default_to_string (lua_State *L) |
|
int | sol::default_traceback_error_handler (lua_State *L) |
|
template<typename T > |
const std::string & | sol::detail::demangle () |
|
template<typename T > |
std::string | sol::detail::demangle_once () |
|
template<typename T > |
decltype(auto) | sol::detail::deref (T &&item) |
|
template<typename T > |
decltype(auto) | sol::detail::deref_move_only (T &&item) |
|
template<typename T > |
int | sol::u_detail::destroy_usertype_storage (lua_State *L) noexcept |
|
template<typename Fx > |
auto | sol::destructor (Fx &&fx) |
|
int | sol::dump_panic_on_error (lua_State *L_, int result_code, lua_Writer writer_function, void *userdata_pointer_, bool strip) |
|
int | sol::dump_pass_on_error (lua_State *L_, int result_code, lua_Writer writer_function, void *userdata_pointer_, bool strip) |
|
int | sol::dump_throw_on_error (lua_State *L_, int result_code, lua_Writer writer_function, void *userdata_pointer_, bool strip) |
|
std::string | sol::detail::debug::dump_types (lua_State *L) |
|
template<bool checked, typename Arg , typename... Args, std::size_t I, std::size_t... Is, typename Handler , typename Fx , typename... FxArgs> |
static decltype(auto) | sol::stack::stack_detail::eval (types< Arg, Args... >, std::index_sequence< I, Is... >, lua_State *L_, int start_index_, Handler &&handler_, record &tracking_, Fx &&fx_, FxArgs &&... fxargs_) |
|
template<bool checked, typename Handler , typename Fx , typename... Args> |
static decltype(auto) | sol::stack::stack_detail::eval (types<>, std::index_sequence<>, lua_State *, int, Handler &&, record &, Fx &&fx, Args &&... args) |
|
template<typename... Functions> |
auto | sol::factories (Functions &&... functions) |
|
int | sol::detail::fail_on_newindex (lua_State *L_) |
|
std::optional< protected_function > | sol::stack::stack_detail::find_lua_next_function (lua_State *L_) |
|
template<typename Base , typename T > |
basic_function< Base > | sol::detail::force_cast (T &p) |
|
template<typename T > |
decltype(auto) | sol::meta::meta_detail::force_tuple (T &&x) |
|
template<std::size_t I> |
stack_proxy | sol::get (const protected_function_result &fr) |
|
template<std::size_t I> |
stack_proxy | sol::get (const unsafe_function_result &fr) |
|
template<typename T > |
auto | sol::stack::get (lua_State *L, int index, record &tracking) -> decltype(stack_detail::unchecked_get< T >(L, index, tracking)) |
|
template<typename T > |
decltype(auto) | sol::stack::get (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<std::size_t I, std::size_t N, typename Arg , typename... Args, typename T , meta::enable< meta::boolean<(N > 0)> > |
stack_proxy | sol::detail::get (types< Arg, Args... >, meta::index_value< N >, meta::index_value< I >, const T &fr) |
|
template<std::size_t I, typename... Args> |
stack_proxy | sol::get (types< Args... > t, const protected_function_result &fr) |
|
template<std::size_t I, typename... Args> |
stack_proxy | sol::get (types< Args... > t, const unsafe_function_result &fr) |
|
template<std::size_t I, typename... Args, typename T > |
stack_proxy | sol::detail::get (types< Args... >, meta::index_value< 0 >, meta::index_value< I >, const T &fr) |
|
template<typename T > |
std::pair< T, int > | sol::stack::stack_detail::get_as_upvalues (lua_State *L, int index=2) |
|
template<typename T > |
std::pair< T, int > | sol::stack::stack_detail::get_as_upvalues_using_function (lua_State *L, int function_index=-1) |
|
call_syntax | sol::stack::get_call_syntax (lua_State *L, const string_view &key, int index) |
|
template<typename Reference , bool IsMainReference = false> |
Reference | sol::detail::get_default_handler (lua_State *L_) |
|
template<typename E = reference, typename T > |
basic_environment< E > | sol::get_environment (const T &target) |
|
template<bool global = false, bool raw = false, typename Key > |
void | sol::stack::get_field (lua_State *L, Key &&key) |
|
template<bool global = false, bool raw = false, typename Key > |
void | sol::stack::get_field (lua_State *L, Key &&key, int tableindex) |
|
template<typename Function > |
Function * | sol::stack::stack_detail::get_function_pointer (lua_State *, int, record &) noexcept |
|
template<typename BaseCh , typename S > |
S | sol::stack::stack_detail::get_into (lua_State *L, int index, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::container_detail::get_key (std::false_type, T &&t) |
|
template<typename T > |
decltype(auto) | sol::container_detail::get_key (std::true_type, T &&t) |
|
template<typename OptionalType , typename T , typename Handler > |
OptionalType | sol::stack::stack_detail::get_optional (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename C > |
static int | sol::stack::stack_detail::get_size_hint (C &c) |
|
template<typename V , typename Al > |
static int | sol::stack::stack_detail::get_size_hint (const std::forward_list< V, Al > &) |
|
error | sol::stack::get_traceback_or_errors (lua_State *L) |
|
template<typename T > |
decltype(auto) | sol::stack::get_usertype (lua_State *L, int index, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::get_usertype (lua_State *L, int index=-lua_size_v< meta::unqualified_t< T >>) |
|
template<typename T > |
usertype_storage< T > & | sol::u_detail::get_usertype_storage (lua_State *L_) |
|
usertype_storage_base & | sol::u_detail::get_usertype_storage_base (lua_State *L_, const char *gcmetakey) |
|
template<typename T > |
decltype(auto) | sol::container_detail::get_value (std::false_type, T &&t) |
|
template<typename T > |
decltype(auto) | sol::container_detail::get_value (std::true_type, T &&t) |
|
int | sol::detail::handle_errors (lua_State *L, const error_result &er) |
|
void | sol::policy_detail::handle_policy (const stack_dependencies &sdeps, lua_State *L, int &) |
|
template<typename P , meta::disable< std::is_base_of< detail::policy_base_tag, meta::unqualified_t< P >>> = meta::enabler> |
void | sol::policy_detail::handle_policy (P &&p, lua_State *L, int &pushed) |
|
template<int... In> |
void | sol::policy_detail::handle_policy (returns_self_with< In... >, lua_State *L, int &pushed) |
|
template<int I, int... In> |
void | sol::policy_detail::handle_policy (static_stack_dependencies< I, In... >, lua_State *L, int &) |
|
template<bool ShouldPush_, typename Handler_ > |
void | sol::detail::handle_protected_exception (lua_State *L_, optional< const std::exception & > maybe_ex, const char *error, detail::protected_handler< ShouldPush_, Handler_ > &handler_) |
|
template<typename Left , typename Right > |
constexpr bool | sol::has_any_flag (Left left, Right right) noexcept |
|
template<typename Left , typename Right > |
constexpr bool | sol::has_flag (Left left, Right right) noexcept |
|
bool | sol::stack::stack_detail::impl_check_metatable (lua_State *L_, int index, const std::string &metakey, bool poptable) |
|
int | sol::u_detail::index_fail (lua_State *L_) |
|
int | sol::u_detail::index_target_fail (lua_State *L_, void *) |
|
template<typename... Functions> |
auto | sol::initializers (Functions &&... functions) |
|
template<typename T , typename IFx , typename Fx > |
void | sol::detail::insert_default_registrations (IFx &&ifx, Fx &&fx) |
|
template<typename T > |
bool | sol::stack::stack_detail::integer_value_fits (const T &value) |
|
template<typename T , typename Handler > |
bool | sol::stack::stack_detail::interop_check (lua_State *L, int index, type index_type, Handler &&handler, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::stack_detail::interop_get (lua_State *L, int index, void *unadjusted_pointer, record &tracking) |
|
template<typename Fn , typename... Args, typename = enable_if_t<!std::is_member_pointer<decay_t<Fn>>::value>> |
constexpr auto | sol::detail::invoke (Fn &&f, Args &&... args) noexcept(noexcept(std::forward< Fn >(f)(std::forward< Args >(args)...))) -> decltype(std::forward< Fn >(f)(std::forward< Args >(args)...)) |
|
template<typename Fn , typename... Args, typename = enable_if_t<std::is_member_pointer<decay_t<Fn>>::value>, int = 0> |
constexpr auto | sol::detail::invoke (Fn &&f, Args &&... args) noexcept(noexcept(std::mem_fn(f)(std::forward< Args >(args)...))) -> decltype(std::mem_fn(f)(std::forward< Args >(args)...)) |
|
template<typename T > |
int | sol::detail::is_check (lua_State *L) |
|
bool | sol::is_indeterminate_call_failure (call_status c) |
|
int | sol::u_detail::is_indexer (call_construction) |
|
int | sol::u_detail::is_indexer (meta_function mf) |
|
int | sol::u_detail::is_indexer (string_view s) |
|
bool | sol::stack::is_main_thread (lua_State *L) |
|
template<typename Handler > |
bool | sol::stack::loose_table_check (lua_State *L_, int index, Handler &&handler, record &tracking) |
|
template<bool yielding> |
int | sol::function_detail::lua_c_noexcept_wrapper (lua_State *L) noexcept |
|
template<bool yielding> |
int | sol::function_detail::lua_c_wrapper (lua_State *L) |
|
int | sol::detail::lua_cfunction_trampoline (lua_State *L, lua_CFunction f) |
|
void | sol::stack::luajit_exception_handler (lua_State *L, int(*handler)(lua_State *, lua_CFunction)=detail::c_trampoline) |
|
void | sol::stack::luajit_exception_off (lua_State *L) |
|
lua_State * | sol::main_thread (lua_State *L_, lua_State *backup_if_unsupported_=nullptr) |
|
template<std::size_t N> |
const char * | sol::detail::make_chunk_name (const string_view &code, const std::string &chunkname, char(&basechunkname)[N]) |
|
template<typename... Args> |
closure< Args... > | sol::make_closure (lua_CFunction f, Args &&... args) |
|
template<typename T > |
lua_CFunction | sol::detail::make_destructor () |
|
template<typename T > |
lua_CFunction | sol::detail::make_destructor (std::false_type) |
|
template<typename T > |
lua_CFunction | sol::detail::make_destructor (std::true_type) |
|
template<typename T > |
auto | sol::make_light (T &l) |
|
template<typename T , typename... Args> |
object | sol::make_object (lua_State *L_, Args &&... args) |
|
template<typename T > |
object | sol::make_object (lua_State *L_, T &&value) |
|
template<typename T , typename... Args> |
object | sol::make_object_userdata (lua_State *L_, Args &&... args) |
|
template<typename T > |
object | sol::make_object_userdata (lua_State *L_, T &&value) |
|
template<class T , class... Args> |
constexpr optional< T > | sol::make_optional (Args &&... args) |
|
template<class T , class U , class... Args> |
constexpr optional< T > | sol::make_optional (std::initializer_list< U > il, Args &&... args) |
|
template<class T = detail::i_am_secret, class U , class Ret = detail::conditional_t<std::is_same<T, detail::i_am_secret>::value, detail::decay_t<U>, T>> |
constexpr optional< Ret > | sol::make_optional (U &&v) |
|
template<typename T , typename R = reference, bool should_pop = !is_stack_based_v<R>, typename... Args> |
R | sol::make_reference (lua_State *L, Args &&... args) |
|
template<typename R = reference, bool should_pop = !is_stack_based_v<R>, typename T > |
R | sol::make_reference (lua_State *L, T &&value) |
|
template<typename T , typename R = reference, bool should_pop = !is_stack_based_v<R>, typename... Args> |
R | sol::make_reference_userdata (lua_State *L, Args &&... args) |
|
template<typename R = reference, bool should_pop = !is_stack_based_v<R>, typename T > |
R | sol::make_reference_userdata (lua_State *L, T &&value) |
|
template<typename Arg > |
std::string | sol::u_detail::make_string (Arg &&arg) |
|
auto | sol::u_detail::make_string_view (base_classes_tag) |
|
auto | sol::u_detail::make_string_view (call_construction) |
|
auto | sol::u_detail::make_string_view (meta_function mf) |
|
auto | sol::u_detail::make_string_view (string_view s) |
|
template<typename T , typename Dx , typename... Args> |
std::unique_ptr< T, Dx > | sol::detail::make_unique_deleter (Args &&... args) |
|
template<typename T > |
auto | sol::make_user (T &&u) |
|
optional< usertype_storage_base & > | sol::u_detail::maybe_as_usertype_storage_base (lua_State *L, int index) |
|
template<typename T > |
optional< usertype_storage< T > & > | sol::u_detail::maybe_get_usertype_storage (lua_State *L_) |
|
optional< usertype_storage_base & > | sol::u_detail::maybe_get_usertype_storage_base (lua_State *L, const char *gcmetakey) |
|
optional< usertype_storage_base & > | sol::u_detail::maybe_get_usertype_storage_base (lua_State *L_, int index) |
|
optional< usertype_storage_base & > | sol::u_detail::maybe_get_usertype_storage_base_inside (lua_State *L, int index) |
|
bool | sol::stack::maybe_indexable (lua_State *L, int index=-1) |
|
bool | sol::stack::stack_detail::maybe_push_lua_next_function (lua_State *L_) |
|
template<typename T > |
int | sol::detail::member_default_to_string (std::false_type, lua_State *L) |
|
template<typename T > |
int | sol::detail::member_default_to_string (std::true_type, lua_State *L) |
|
const std::array< std::string, 37 > & | sol::meta_function_names () |
|
template<typename T > |
auto | sol::meta_registry_key (T &&key) |
|
template<typename F > |
void | sol::stack::modify_unique_usertype (const stack_reference &obj, F &&f) |
|
template<typename T , typename F > |
void | sol::stack::modify_unique_usertype_as (const stack_reference &obj, F &&f) |
|
template<typename T > |
int | sol::stack::stack_detail::msvc_is_ass_with_if_constexpr_push_enum (std::false_type, lua_State *, const T &) |
|
template<typename T > |
int | sol::stack::stack_detail::msvc_is_ass_with_if_constexpr_push_enum (std::true_type, lua_State *L, const T &value) |
|
template<typename... Args> |
bool | sol::stack::multi_check (lua_State *L, int index) |
|
template<typename... Args, typename Handler > |
bool | sol::stack::multi_check (lua_State *L, int index, Handler &&handler) |
|
template<typename... Args, typename Handler > |
bool | sol::stack::multi_check (lua_State *L, int index, Handler &&handler, record &tracking) |
|
int | sol::stack::multi_push (lua_State *) |
|
template<typename T , typename... Args> |
int | sol::stack::multi_push (lua_State *L, T &&t, Args &&... args) |
|
int | sol::stack::multi_push_reference (lua_State *) |
|
template<typename T , typename... Args> |
int | sol::stack::multi_push_reference (lua_State *L, T &&t, Args &&... args) |
|
int | sol::u_detail::new_index_fail (lua_State *L_) |
|
int | sol::u_detail::new_index_target_fail (lua_State *L_, void *) |
|
int | sol::function_detail::no_construction_error (lua_State *L) |
|
int | sol::no_panic (lua_State *, int, type, type, const char *=nullptr) noexcept |
|
template<bool lb, bool rb> |
bool | sol::operator!= (const basic_reference< lb > &l, const basic_reference< rb > &r) noexcept |
|
template<bool lb> |
bool | sol::operator!= (const basic_reference< lb > &l, const stack_reference &r) noexcept |
|
template<bool lb> |
bool | sol::operator!= (const basic_reference< lb > &lhs, const lua_nil_t &) noexcept |
|
template<bool rb> |
bool | sol::operator!= (const lua_nil_t &, const basic_reference< rb > &rhs) noexcept |
|
bool | sol::operator!= (const lua_nil_t &, const stack_reference &rhs) |
|
bool | sol::operator!= (const lua_nil_t &, const stateless_reference &rhs) noexcept |
|
template<class T , class U > |
constexpr bool | sol::operator!= (const optional< T > &lhs, const optional< U > &rhs) |
| \group relop More...
|
|
template<class T , class U > |
constexpr bool | sol::operator!= (const optional< T > &lhs, const U &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator!= (const optional< T > &lhs, nullopt_t) noexcept |
| \group relop_nullopt More...
|
|
template<bool rb> |
bool | sol::operator!= (const stack_reference &l, const basic_reference< rb > &r) noexcept |
|
bool | sol::operator!= (const stack_reference &l, const stack_reference &r) |
|
bool | sol::operator!= (const stack_reference &lhs, const lua_nil_t &) |
|
bool | sol::operator!= (const stateless_reference &l, const stateless_reference &r) noexcept |
|
bool | sol::operator!= (const stateless_reference &lhs, const lua_nil_t &) noexcept |
|
bool | sol::operator!= (const stateless_stack_reference &l, const stateless_stack_reference &r) |
|
template<typename Table , typename Key > |
bool | sol::operator!= (const table_proxy< Table, Key > &right, lua_nil_t) |
|
template<typename Table , typename Key , typename T > |
bool | sol::operator!= (const table_proxy< Table, Key > &right, T &&left) |
|
template<class T , class U > |
constexpr bool | sol::operator!= (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<typename Table , typename Key > |
bool | sol::operator!= (lua_nil_t, const table_proxy< Table, Key > &right) |
|
bool | sol::operator!= (lua_nil_t, lua_nil_t) |
|
template<class T > |
constexpr bool | sol::operator!= (nullopt_t, const optional< T > &rhs) noexcept |
| \group relop_nullopt More...
|
|
template<typename Table , typename Key , typename T > |
bool | sol::operator!= (T &&left, const table_proxy< Table, Key > &right) |
|
constexpr automagic_flags | sol::operator& (automagic_flags left, automagic_flags right) noexcept |
|
constexpr automagic_flags & | sol::operator&= (automagic_flags &left, automagic_flags right) noexcept |
|
template<typename proxy_t , bool is_const> |
stack_iterator< proxy_t, is_const > | sol::operator+ (typename stack_iterator< proxy_t, is_const >::difference_type n, const stack_iterator< proxy_t, is_const > &r) |
|
template<class T > |
constexpr bool | sol::operator< (const optional< T > &, nullopt_t) noexcept |
| \group relop_nullopt More...
|
|
template<class T , class U > |
constexpr bool | sol::operator< (const optional< T > &lhs, const optional< U > &rhs) |
| \group relop More...
|
|
template<class T , class U > |
constexpr bool | sol::operator< (const optional< T > &lhs, const U &rhs) |
| \group relop_t More...
|
|
template<class T , class U > |
constexpr bool | sol::operator< (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator< (nullopt_t, const optional< T > &rhs) noexcept |
| \group relop_nullopt More...
|
|
template<class T , class U > |
constexpr bool | sol::operator<= (const optional< T > &lhs, const optional< U > &rhs) |
| \group relop More...
|
|
template<class T , class U > |
constexpr bool | sol::operator<= (const optional< T > &lhs, const U &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator<= (const optional< T > &lhs, nullopt_t) noexcept |
| \group relop_nullopt More...
|
|
template<class T , class U > |
constexpr bool | sol::operator<= (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator<= (nullopt_t, const optional< T > &) noexcept |
| \group relop_nullopt More...
|
|
template<bool lb, bool rb> |
bool | sol::operator== (const basic_reference< lb > &l, const basic_reference< rb > &r) noexcept |
|
template<bool lb> |
bool | sol::operator== (const basic_reference< lb > &l, const stack_reference &r) noexcept |
|
template<bool lb> |
bool | sol::operator== (const basic_reference< lb > &lhs, const lua_nil_t &) noexcept |
|
template<bool rb> |
bool | sol::operator== (const lua_nil_t &, const basic_reference< rb > &rhs) noexcept |
|
bool | sol::operator== (const lua_nil_t &, const stack_reference &rhs) |
|
bool | sol::operator== (const lua_nil_t &, const stateless_reference &rhs) noexcept |
|
template<class T , class U > |
constexpr bool | sol::operator== (const optional< T > &lhs, const optional< U > &rhs) |
| Compares two optional objects. More...
|
|
template<class T , class U > |
constexpr bool | sol::operator== (const optional< T > &lhs, const U &rhs) |
| Compares the optional with a value. More...
|
|
template<class T > |
constexpr bool | sol::operator== (const optional< T > &lhs, nullopt_t) noexcept |
| Compares an optional to a nullopt More...
|
|
template<bool rb> |
bool | sol::operator== (const stack_reference &l, const basic_reference< rb > &r) noexcept |
|
bool | sol::operator== (const stack_reference &l, const stack_reference &r) |
|
bool | sol::operator== (const stack_reference &lhs, const lua_nil_t &) |
|
bool | sol::operator== (const stateless_reference &l, const stateless_reference &r) noexcept |
|
bool | sol::operator== (const stateless_reference &lhs, const lua_nil_t &) noexcept |
|
bool | sol::operator== (const stateless_stack_reference &l, const stateless_stack_reference &r) |
|
template<typename Table , typename Key > |
bool | sol::operator== (const table_proxy< Table, Key > &right, lua_nil_t) |
|
template<typename Table , typename Key , typename T > |
bool | sol::operator== (const table_proxy< Table, Key > &right, T &&left) |
|
template<class T , class U > |
constexpr bool | sol::operator== (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<typename Table , typename Key > |
bool | sol::operator== (lua_nil_t, const table_proxy< Table, Key > &right) |
|
bool | sol::operator== (lua_nil_t, lua_nil_t) |
|
template<class T > |
constexpr bool | sol::operator== (nullopt_t, const optional< T > &rhs) noexcept |
| \group relop_nullopt More...
|
|
template<typename Table , typename Key , typename T > |
bool | sol::operator== (T &&left, const table_proxy< Table, Key > &right) |
|
template<class T , class U > |
constexpr bool | sol::operator> (const optional< T > &lhs, const optional< U > &rhs) |
| \group relop More...
|
|
template<class T , class U > |
constexpr bool | sol::operator> (const optional< T > &lhs, const U &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator> (const optional< T > &lhs, nullopt_t) noexcept |
| \group relop_nullopt More...
|
|
template<class T , class U > |
constexpr bool | sol::operator> (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator> (nullopt_t, const optional< T > &) noexcept |
| \group relop_nullopt More...
|
|
template<class T > |
constexpr bool | sol::operator>= (const optional< T > &, nullopt_t) noexcept |
| \group relop_nullopt More...
|
|
template<class T , class U > |
constexpr bool | sol::operator>= (const optional< T > &lhs, const optional< U > &rhs) |
| \group relop More...
|
|
template<class T , class U > |
constexpr bool | sol::operator>= (const optional< T > &lhs, const U &rhs) |
| \group relop_t More...
|
|
template<class T , class U > |
constexpr bool | sol::operator>= (const U &lhs, const optional< T > &rhs) |
| \group relop_t More...
|
|
template<class T > |
constexpr bool | sol::operator>= (nullopt_t, const optional< T > &rhs) noexcept |
| \group relop_nullopt More...
|
|
constexpr automagic_flags | sol::operator| (automagic_flags left, automagic_flags right) noexcept |
|
constexpr automagic_flags & | sol::operator|= (automagic_flags &left, automagic_flags right) noexcept |
|
template<class Opt , class F , class Ret = decltype(detail::invoke(std::declval<F>(), *std::declval<Opt>())), detail::enable_if_t< std::is_void< Ret >::value > * = nullptr> |
auto | sol::detail::optional_map_impl (Opt &&opt, F &&f) -> optional< monostate > |
|
template<class Opt , class F , class Ret = decltype(detail::invoke(std::declval<F>(), *std::declval<Opt>())), detail::enable_if_t<!std::is_void< Ret >::value > * = nullptr> |
constexpr auto | sol::detail::optional_map_impl (Opt &&opt, F &&f) -> optional< Ret > |
|
template<typename T > |
int | sol::detail::oss_default_to_string (std::false_type, lua_State *L) |
|
template<typename T > |
int | sol::detail::oss_default_to_string (std::true_type, lua_State *L) |
|
template<typename... Args> |
decltype(auto) | sol::overload (Args &&... args) |
|
template<typename... Functions, typename Match , typename... Args> |
int | sol::call_detail::overload_match (Match &&matchfx, lua_State *L, int start, Args &&... args) |
|
template<typename... Functions, typename Match , typename... Args> |
int | sol::call_detail::overload_match_arity (Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<typename Fx , typename... Fxs, std::size_t I, std::size_t... In, std::size_t... M, typename Match , typename... Args> |
int | sol::call_detail::overload_detail::overload_match_arity (types< Fx, Fxs... >, std::index_sequence< I, In... >, std::index_sequence< M... >, Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<std::size_t... M, typename Match , typename... Args> |
int | sol::call_detail::overload_detail::overload_match_arity (types<>, std::index_sequence<>, std::index_sequence< M... >, Match &&, lua_State *L, int, int, Args &&...) |
|
template<typename Fx , std::size_t I, std::size_t... M, typename Match , typename... Args> |
int | sol::call_detail::overload_detail::overload_match_arity_single (types< Fx >, std::index_sequence< I >, std::index_sequence< M... >, Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<typename Fx , typename Fx1 , typename... Fxs, std::size_t I, std::size_t I1, std::size_t... In, std::size_t... M, typename Match , typename... Args> |
int | sol::call_detail::overload_detail::overload_match_arity_single (types< Fx, Fx1, Fxs... >, std::index_sequence< I, I1, In... >, std::index_sequence< M... >, Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<std::size_t... M, typename Match , typename... Args> |
int | sol::call_detail::overload_detail::overload_match_arity_single (types<>, std::index_sequence<>, std::index_sequence< M... >, Match &&matchfx, lua_State *L, int fxarity, int start, Args &&... args) |
|
template<typename T > |
auto | sol::pass_as_value (T &value_ref_) |
|
template<typename R , typename W > |
auto & | sol::call_detail::pick (std::false_type, property_wrapper< R, W > &f) |
|
template<typename R , typename W > |
auto & | sol::call_detail::pick (std::true_type, property_wrapper< R, W > &f) |
|
template<bool b> |
lua_State * | sol::detail::pick_main_thread (lua_State *L_, lua_State *backup_if_unsupported=nullptr) |
|
template<typename F , typename... Args> |
auto | sol::policies (F &&f, Args &&... args) |
|
template<typename T > |
decltype(auto) | sol::stack::pop (lua_State *L) |
|
template<bool top_level = false> |
push_popper_n< top_level > | sol::stack::pop_n (lua_State *L_, int pop_count_) |
|
void | sol::detail::debug::print_section (const std::string &message, lua_State *L) |
|
void | sol::detail::debug::print_stack (lua_State *L) |
|
template<bool global = false, bool raw = false, typename C = detail::non_lua_nil_t, typename Key > |
probe | sol::stack::probe_get_field (lua_State *L, Key &&key) |
|
template<bool global = false, bool raw = false, typename C = detail::non_lua_nil_t, typename Key > |
probe | sol::stack::probe_get_field (lua_State *L, Key &&key, int tableindex) |
|
template<bool global = false, typename C = detail::non_lua_nil_t, typename Key > |
probe | sol::stack::probe_raw_get_field (lua_State *L, Key &&key) |
|
template<bool global = false, typename C = detail::non_lua_nil_t, typename Key > |
probe | sol::stack::probe_raw_get_field (lua_State *L, Key &&key, int tableindex) |
|
template<typename F > |
decltype(auto) | sol::property (F &&f) |
|
template<typename F , typename G > |
decltype(auto) | sol::property (F &&f, G &&g) |
|
bool | sol::detail::property_always_true (meta_function) |
|
template<typename T > |
auto | sol::protect (T &&value) |
|
template<typename T > |
T * | sol::detail::ptr (std::reference_wrapper< T > val) |
|
template<typename T > |
T * | sol::detail::ptr (T &val) |
|
template<typename T > |
T * | sol::detail::ptr (T *val) |
|
template<typename T , typename Arg , typename... Args, typename = std::enable_if_t<!std::is_same<T, Arg>::value>> |
int | sol::stack::push (lua_State *L, Arg &&arg, Args &&... args) |
|
template<typename T , typename... Args> |
int | sol::stack::push (lua_State *L, T &&t, Args &&... args) |
|
template<typename T > |
int | sol::stack::stack_detail::push_as_upvalues (lua_State *L, T &item) |
|
template<typename T > |
int | sol::stack::push_environment_of (const T &target) |
|
int | sol::stack::push_environment_of (lua_State *L, int target_index=-1) |
|
template<typename Fx > |
auto | sol::push_invoke (Fx &&fx) |
|
template<bool top_level = false, typename T > |
stateless_push_popper< top_level, T > | sol::stack::push_pop (lua_State *L_, T &&object_) |
|
template<bool top_level = false, typename T > |
push_popper< top_level, T > | sol::stack::push_pop (T &&x) |
|
template<typename T > |
push_popper_at | sol::stack::push_pop_at (T &&object_) |
|
template<typename T , typename Arg , typename... Args> |
int | sol::stack::stack_detail::push_reference (lua_State *L, Arg &&arg, Args &&... args) |
|
template<typename T , typename Arg , typename... Args> |
int | sol::stack::push_reference (lua_State *L, Arg &&arg, Args &&... args) |
|
template<typename T , typename... Args> |
int | sol::stack::push_reference (lua_State *L, T &&t, Args &&... args) |
|
int | sol::push_type_panic_string (lua_State *L, int index, type expected, type actual, string_view message, string_view aux_message) noexcept |
|
template<typename T , typename Arg , typename... Args> |
int | sol::stack::push_userdata (lua_State *L, Arg &&arg, Args &&... args) |
|
template<typename T , typename... Args> |
int | sol::stack::push_userdata (lua_State *L, T &&t, Args &&... args) |
|
template<bool global = false, typename Key > |
void | sol::stack::raw_get_field (lua_State *L, Key &&key) |
|
template<bool global = false, typename Key > |
void | sol::stack::raw_get_field (lua_State *L, Key &&key, int tableindex) |
|
template<bool global = false, typename Key , typename Value > |
void | sol::stack::raw_set_field (lua_State *L, Key &&key, Value &&value) |
|
template<bool global = false, typename Key , typename Value > |
void | sol::stack::raw_set_field (lua_State *L, Key &&key, Value &&value, int tableindex) |
|
template<typename T > |
void | sol::stack::stack_detail::raw_table_set (lua_State *L, T &&arg, int tableindex=-2) |
|
template<typename R , typename T > |
auto | sol::readonly (R T::*v) |
|
int | sol::stack::stack_detail::readonly_pairs (lua_State *L_) noexcept |
|
template<typename F > |
decltype(auto) | sol::readonly_property (F &&f) |
|
void | sol::register_main_thread (lua_State *L) |
|
template<typename T , automagic_flags enrollment_flags> |
int | sol::u_detail::register_usertype (lua_State *L_, automagic_enrollments enrollments_={}) |
|
void | sol::stack::remove (lua_State *L_, int rawindex, int count) |
|
template<typename T , typename Tr , typename Al > |
void | sol::detail::reserve (std::basic_string< T, Tr, Al > &str, std::size_t hint) |
|
template<typename T , typename Al > |
void | sol::detail::reserve (std::vector< T, Al > &vec, std::size_t hint) |
|
template<typename T > |
void | sol::detail::reserve (T &, std::size_t) |
|
template<typename... Sig, typename F , meta::disable< std::is_function< meta::unqualified_t< F >>> = meta::enabler> |
constexpr auto | sol::resolve (F &&f) -> decltype(detail::resolve_i(types< Sig... >(), std::forward< F >(f))) |
|
template<typename... Args, typename R > |
constexpr auto | sol::resolve (R fun_ptr(Args...)) -> R(*)(Args...) |
|
template<typename... Args, typename R , typename C > |
constexpr auto | sol::resolve (R(C::*mem_ptr)(Args...)) -> R(C::*)(Args...) |
|
template<typename Sig > |
constexpr Sig * | sol::resolve (Sig *fun_ptr) |
|
template<typename Sig , typename C > |
constexpr Sig C::* | sol::resolve (Sig C::*mem_ptr) |
|
template<typename F > |
constexpr void | sol::detail::resolve_f (std::false_type, F &&) |
|
template<typename F , typename U = meta::unqualified_t<F>> |
constexpr auto | sol::detail::resolve_f (std::true_type, F &&f) -> decltype(resolve_i(types< meta::function_signature_t< decltype(&U::operator())>>(), std::forward< F >(f))) |
|
template<typename... Args, typename F , typename R = std::invoke_result_t<F&, Args...>> |
constexpr auto | sol::detail::resolve_i (types< Args... >, F &&f) -> decltype(resolve_i(types< R(Args...)>(), std::forward< F >(f))) |
|
template<typename R , typename... Args, typename F , typename = std::invoke_result_t<meta::unqualified_t<F>, Args...>> |
constexpr auto | sol::detail::resolve_i (types< R(Args...)>, F &&) -> R(meta::unqualified_t< F >::*)(Args...) |
|
template<typename F , typename U = meta::unqualified_t<F>> |
constexpr auto | sol::detail::resolve_i (types<>, F &&f) -> decltype(resolve_f(meta::call_operator_deducible< U >(), std::forward< F >(f))) |
|
template<typename Sig , typename C > |
constexpr Sig C::* | sol::detail::resolve_v (std::false_type, Sig C::*mem_func_ptr) |
|
template<typename Sig , typename C > |
constexpr Sig C::* | sol::detail::resolve_v (std::true_type, Sig C::*mem_variable_ptr) |
|
void | sol::stack::script (lua_State *L, const string_view &code, const std::string &chunkname=detail::default_chunk_name(), load_mode mode=load_mode::any) |
|
void | sol::stack::script (lua_State *L, lua_Reader reader, void *data, const std::string &chunkname=detail::default_chunk_name(), load_mode mode=load_mode::any) |
|
protected_function_result | sol::script_default_on_error (lua_State *L, protected_function_result pfr) |
|
void | sol::stack::script_file (lua_State *L, const std::string &filename, load_mode mode=load_mode::any) |
|
protected_function_result | sol::script_pass_on_error (lua_State *, protected_function_result result) |
|
protected_function_result | sol::script_throw_on_error (lua_State *L, protected_function_result result) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args> |
void | sol::function_detail::select (lua_State *L, Fx &&fx, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename R , typename... A, typename Fx , typename... Args> |
void | sol::function_detail::select_convertible (types< R(A...)>, lua_State *L, Fx &&fx, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args> |
void | sol::function_detail::select_convertible (types<>, lua_State *L, Fx &&fx, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args> |
void | sol::function_detail::select_member_function (lua_State *L, Fx &&fx, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename T , typename... Args> |
void | sol::function_detail::select_member_function_with (lua_State *L, Fx &&fx, T &&obj, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args> |
void | sol::function_detail::select_member_variable (lua_State *L, Fx &&fx, Args &&... args) |
|
template<bool is_yielding, bool no_trampoline, typename Fx , typename... Args> |
void | sol::function_detail::select_set_fx (lua_State *L, Args &&... args) |
|
void | sol::set_default_exception_handler (lua_State *L, exception_handler_function exf=&detail::default_exception_handler) |
|
template<typename T > |
void | sol::detail::set_default_handler (lua_State *L, const T &ref) |
|
void | sol::set_default_state (lua_State *L, lua_CFunction panic_function=&default_at_panic, lua_CFunction traceback_function=c_call< decltype(&default_traceback_error_handler), &default_traceback_error_handler >, exception_handler_function exf=detail::default_exception_handler) |
|
template<typename T , typename E > |
bool | sol::set_environment (const basic_environment< E > &env, const T &target) |
|
template<bool global = false, bool raw = false, typename Key , typename Value > |
void | sol::stack::set_field (lua_State *L, Key &&key, Value &&value) |
|
template<bool global = false, bool raw = false, typename Key , typename Value > |
void | sol::stack::set_field (lua_State *L, Key &&key, Value &&value, int tableindex) |
|
template<typename T > |
int | sol::stack::set_ref (lua_State *L, T &&arg, int tableindex=-2) |
|
template<typename T > |
void | sol::stack::stack_detail::set_undefined_methods_on (stack_reference) |
|
template<typename T > |
const std::string & | sol::detail::short_demangle () |
|
std::string | sol::detail::short_demangle_from_type_name (std::string realname) |
|
template<typename T > |
std::string | sol::detail::short_demangle_once () |
|
void | sol::detail::stack_fail (int, int) |
|
template<lua_CFunction f> |
int | sol::detail::static_trampoline (lua_State *L) |
|
template<lua_CFunction_noexcept f> |
int | sol::detail::static_trampoline_noexcept (lua_State *L) noexcept |
|
template<class T , detail::enable_if_t< std::is_move_constructible< T >::value > * = nullptr, detail::enable_if_t< detail::is_swappable< T >::value > * = nullptr> |
void | sol::swap (optional< T > &lhs, optional< T > &rhs) noexcept(noexcept(lhs.swap(rhs))) |
| \synopsis template <class T>
void swap(optional<T> &lhs, optional<T> &rhs); More...
|
|
template<class T > |
tag | sol::detail::swap_adl_tests::swap (T &, T &) |
|
template<class T , std::size_t N> |
tag | sol::detail::swap_adl_tests::swap (T(&a)[N], T(&b)[N]) |
|
template<typename... Tn> |
tie_t< std::remove_reference_t< Tn >... > | sol::adl_barrier_detail::tie (Tn &&... argn) |
|
const std::string & | sol::to_string (call_status c) |
|
const string_view & | sol::unicode::to_string (error_code ec) |
|
const std::string & | sol::to_string (load_mode c) |
|
const std::string & | sol::to_string (load_status c) |
|
const std::string & | sol::to_string (meta_function mf) |
|
int | sol::stack::top (lua_State *L) |
|
std::size_t | sol::total_memory_used (lua_State *L) |
|
template<typename Fx , typename... Args> |
int | sol::detail::trampoline (lua_State *L, Fx &&f, Args &&... args) |
|
template<typename... X> |
decltype(auto) | sol::meta::tuplefy (X &&... x) |
|
void | sol::type_assert (lua_State *L, int index, type expected) |
|
void | sol::type_assert (lua_State *L, int index, type expected, type actual) noexcept(false) |
|
void | sol::type_error (lua_State *L, int expected, int actual) noexcept(false) |
|
void | sol::type_error (lua_State *L, type expected, type actual) noexcept(false) |
|
std::string | sol::type_name (lua_State *L, type t) |
|
template<typename T > |
type | sol::type_of () |
|
type | sol::type_of (lua_State *L, int index) |
|
int | sol::type_panic_c_str (lua_State *L, int index, type expected, type actual, const char *message=nullptr) noexcept(false) |
|
int | sol::type_panic_string (lua_State *L, int index, type expected, type actual, string_view message="") noexcept(false) |
|
template<typename F , F fx> |
int | sol::detail::typed_static_trampoline (lua_State *L) |
|
template<typename T > |
decltype(auto) | sol::stack::stack_detail::unchecked_get (lua_State *L, int index, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::stack_detail::unchecked_get_arg (lua_State *L_, int index_, record &tracking_) |
|
template<typename T > |
decltype(auto) | sol::stack::stack_detail::unchecked_unqualified_get (lua_State *L, int index, record &tracking) |
|
template<typename T > |
int | sol::detail::unique_destroy (lua_State *L) noexcept |
|
template<typename T > |
auto | sol::detail::unique_get (lua_State *L_, T &value_) noexcept(unique_get_noexcept< std::remove_cv_t< T >>()) |
|
template<typename T > |
constexpr bool | sol::detail::unique_get_noexcept () noexcept |
|
template<typename T > |
bool | sol::detail::unique_is_null (lua_State *L_, T &value_) noexcept(unique_is_null_noexcept< std::remove_cv_t< T >>()) |
|
template<typename T > |
constexpr bool | sol::detail::unique_is_null_noexcept () noexcept |
|
template<typename T , typename Handler > |
bool | sol::stack::unqualified_check (lua_State *L, int index, Handler &&handler) |
|
template<typename T , typename Handler > |
bool | sol::stack::unqualified_check (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T > |
bool | sol::stack::unqualified_check (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<typename T , typename Handler > |
decltype(auto) | sol::stack::unqualified_check_get (lua_State *L, int index, Handler &&handler) |
|
template<typename T , typename Handler > |
decltype(auto) | sol::stack::unqualified_check_get (lua_State *L, int index, Handler &&handler, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::unqualified_check_get (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<typename T > |
auto | sol::stack::unqualified_get (lua_State *L, int index, record &tracking) -> decltype(stack_detail::unchecked_unqualified_get< T >(L, index, tracking)) |
|
template<typename T > |
decltype(auto) | sol::stack::unqualified_get (lua_State *L, int index=-lua_size< meta::unqualified_t< T >>::value) |
|
template<typename T , typename Handler > |
bool | sol::stack::stack_detail::unqualified_interop_check (lua_State *L, int index, type index_type, Handler &&handler, record &tracking) |
|
template<typename T > |
decltype(auto) | sol::stack::stack_detail::unqualified_interop_get (lua_State *L, int index, void *unadjusted_pointer, record &tracking) |
|
template<typename T > |
T & | sol::detail::unwrap (std::reference_wrapper< T > arg) |
|
template<typename T > |
auto | sol::detail::unwrap (T &&item) -> decltype(std::forward< T >(item)) |
|
template<typename T > |
int | sol::detail::user_alloc_destroy (lua_State *L) noexcept |
|
template<typename T > |
T * | sol::detail::user_allocate (lua_State *L) |
|
template<typename T > |
int | sol::detail::usertype_alloc_destroy (lua_State *L) noexcept |
|
template<typename T > |
T * | sol::detail::usertype_allocate (lua_State *L) |
|
template<typename T > |
T ** | sol::detail::usertype_allocate_pointer (lua_State *L) |
|
template<typename T , typename Real > |
void | sol::detail::usertype_unique_alloc_destroy (void *memory) |
|
template<typename T , typename Real > |
Real * | sol::detail::usertype_unique_allocate (lua_State *L, T **&pref, unique_destructor *&dx, unique_tag *&id) |
|
template<class , class > |
std::false_type | sol::detail::swap_adl_tests::uses_std (...) |
|
template<typename It > |
decoded_result< It > | sol::unicode::utf16_to_code_point (It it, It last) |
|
template<typename It > |
decoded_result< It > | sol::unicode::utf32_to_code_point (It it, It last) |
|
template<typename It > |
decoded_result< It > | sol::unicode::utf8_to_code_point (It it, It last) |
|
template<typename V > |
auto | sol::var (V &&v) |
|
template<typename F > |
decltype(auto) | sol::writeonly_property (F &&f) |
|
bool | sol::detail::xmovable (lua_State *leftL, lua_State *rightL) |
|
template<typename F > |
yielding_t< std::decay_t< F > > | sol::yielding (F &&f) |
|