codex
Loading...
Searching...
No Matches
utils.hpp
Go to the documentation of this file.
1
#ifndef CODEX_REFLECTION_UTILS_HPP
2
#define CODEX_REFLECTION_UTILS_HPP
3
4
#include <cstddef>
5
#include <type_traits>
6
#include <utility>
7
8
#define CODEX_FWD(x) std::forward<decltype(x)>(x)
9
10
namespace
codex::refl
{
11
13
template
<std::
size_t
I>
14
using
index_constant
= std::integral_constant<std::size_t, I>;
15
16
}
17
18
#endif
codex::refl
Definition
fields.hpp:8
codex::refl::index_constant
std::integral_constant< std::size_t, I > index_constant
Alias for an integral_constant of size_t.
Definition
utils.hpp:14
tmp
reflection
utils.hpp
Generated by
1.11.0