mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-11-28 13:56:18 +08:00
15 lines
259 B
C++
15 lines
259 B
C++
#ifndef RFL_NUM_FIELDS_HPP_
|
|
#define RFL_NUM_FIELDS_HPP_
|
|
|
|
#include "internal/num_fields.hpp"
|
|
|
|
namespace rfl {
|
|
|
|
/// Returns the number of fields fields.
|
|
template <class T>
|
|
constexpr std::size_t num_fields = internal::num_fields<T>;
|
|
|
|
} // namespace rfl
|
|
|
|
#endif
|