Public Member Functions | Static Public Attributes | List of all members
sol::stack::field_setter< T, global, raw, typename > Struct Template Reference

#include <sol.hpp>

Public Member Functions

template<typename Key , typename Value >
void set (lua_State *L, Key &&key, Value &&value, int tableindex=default_table_index)
 

Static Public Attributes

static constexpr int default_table_index
 

Detailed Description

template<typename T, bool global, bool raw, typename>
struct sol::stack::field_setter< T, global, raw, typename >

Definition at line 10292 of file sol.hpp.

Member Function Documentation

template<typename T, bool global, bool raw, typename >
template<typename Key , typename Value >
void sol::stack::field_setter< T, global, raw, typename >::set ( lua_State L,
Key &&  key,
Value &&  value,
int  tableindex = default_table_index 
)
inline

Definition at line 14755 of file sol.hpp.

Member Data Documentation

template<typename T, bool global, bool raw, typename >
constexpr int sol::stack::field_setter< T, global, raw, typename >::default_table_index
static
Initial value:
= meta::conditional_t < (meta::is_c_str_v<T> || meta::is_string_of_v<T, char>) || (std::is_integral_v<T> && !std::is_same_v<T, bool>)
|| (std::is_integral_v<T> && !std::is_same_v<T, bool>) || (raw && std::is_void_v<std::remove_pointer_t<T>>),
std::integral_constant<int, -2>, std::integral_constant<int, -3> > ::value

Definition at line 14750 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52