template<detail::integer T>
requires (
detail::can_get<std::underlying_type_t<
T>>)
struct nngn::lua::stack_get< T >
Reads a value convertible to lua_Integer
.
Reads one of the libraries native stack types (e.g.
Reads an enum
value if its underlying integral type can be read.
Reads a value convertible to lua_Number
.
Explicit casting is required for types whose values cannot be fully represented by a lua_Integer
.
- See also
- nngn::lua::integer
Same rules as the lua_Integer
specialization.
- See also
- nngn::lua::number
table).