codex
|
#include <string>
#include <tuple>
#include <concepts>
#include <iostream>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
Namespaces | |
namespace | std |
namespace | std::experimental |
namespace | std::experimental::reflect |
namespace | std::experimental::reflect::detail |
namespace | std::experimental::reflect::test |
Concepts | |
concept | std::experimental::reflect::Object |
concept | std::experimental::reflect::ObjectSequence |
concept | pointer |
Macros | |
#define | FWD(x) (std::forward<decltype(x)>(x)) |
#define | reflexpr(T) std::experimental::reflect::detail::reflexpr_impl<T> |
Typedefs | |
template<Object ... Os> | |
using | std::experimental::reflect::test::make_sequence = detail::ObjectSeqImpl<Os...> |
template<auto p> | |
using | std::experimental::reflect::test::make_member_data = detail::data_member<p> |
template<typename T > | |
using | std::experimental::reflect::test::get_public_data_members_t = get_public_data_members<T>::type |
template<Object O> | |
using | std::experimental::reflect::get_type = O |
template<Object O> | |
using | std::experimental::reflect::get_type_t = get_type<O>::type |
template<ObjectSequence S> | |
using | std::experimental::reflect::get_size = std::tuple_size<typename S::types> |
template<std::size_t I, ObjectSequence S> | |
using | std::experimental::reflect::get_element = std::tuple_element<I, typename S::types> |
template<std::size_t I, ObjectSequence S> | |
using | std::experimental::reflect::get_element_t = get_element<I, S>::type |
Functions | |
template<typename T > | |
void | for_each_public (T &&x, auto &&f) |
void | lua_push (lua_State *L, int i) |
void | lua_push (lua_State *L, float f) |
void | lua_push (lua_State *L, pointer auto p) |
void | lua_push (lua_State *L, const std::string &s) |
template<typename T > requires (!pointer<T>) | |
void | lua_push (lua_State *L, const T &x) |
template<typename T > | |
decltype(auto) | lua_get (lua_State *L, int i) |
int | main () |
Variables | |
template<Object O> | |
constexpr auto | std::experimental::reflect::get_pointer_v = get_pointer<O>::value |
template<ObjectSequence S> | |
constexpr auto | std::experimental::reflect::get_size_v = get_size<S>::value |
#define reflexpr | ( | T | ) | std::experimental::reflect::detail::reflexpr_impl<T> |
decltype(auto) lua_get | ( | lua_State * | L, |
int | i ) |
void lua_push | ( | lua_State * | L, |
const std::string & | s ) |
void lua_push | ( | lua_State * | L, |
float | f ) |
void lua_push | ( | lua_State * | L, |
int | i ) |
void lua_push | ( | lua_State * | L, |
pointer auto | p ) |
int main | ( | void | ) |