codex
Loading...
Searching...
No Matches
fields.hpp File Reference
#include <cstdio>
#include <tuple>
#include <utility>
Include dependency graph for fields.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  codex::refl::detail::to_any< auto >
 Structure which can be ostensibly converted to any other. More...
 

Namespaces

namespace  codex
 
namespace  codex::refl
 
namespace  codex::refl::detail
 

Macros

#define X(n, ...)
 

Functions

 codex::refl::detail::X (1, _0) X(2
 
_1 codex::refl::detail::X (3, _0, _1, _2) X(4
 

Variables

 codex::refl::detail::_0
 
_1 codex::refl::detail::_1
 
_1 codex::refl::detail::_2
 

Macro Definition Documentation

◆ X

#define X ( n,
... )
Value:
template<> \
struct field_tuple_impl<n> { \
decltype(auto) operator()(auto &&x) { \
auto &&[__VA_ARGS__] = std::forward<decltype(x)>(x); \
return std::tie(__VA_ARGS__); \
} \
};
#define x
Definition gcc14.c:1