diff --git a/include/rfl.hpp b/include/rfl.hpp index 25f50941..75b0662e 100644 --- a/include/rfl.hpp +++ b/include/rfl.hpp @@ -12,6 +12,7 @@ #include "rfl/Pattern.hpp" #include "rfl/PatternValidator.hpp" #include "rfl/Ref.hpp" +#include "rfl/Rename.hpp" #include "rfl/Size.hpp" #include "rfl/TaggedUnion.hpp" #include "rfl/Timestamp.hpp" diff --git a/include/rfl/Rename.hpp b/include/rfl/Rename.hpp new file mode 100644 index 00000000..acc7f376 --- /dev/null +++ b/include/rfl/Rename.hpp @@ -0,0 +1,140 @@ +#ifndef RFL_RENAME_HPP_ +#define RFL_RENAME_HPP_ + +#include +#include +#include +#include +#include + +#include "rfl/Literal.hpp" +#include "rfl/default.hpp" +#include "rfl/internal/StringLiteral.hpp" + +namespace rfl { + +/// Used to define a field in the NamedTuple. +template +struct Rename { + /// The underlying type. + using Type = T; + + /// The name of the field. + using Name = rfl::Literal<_name>; + + Rename() : value_(Type()) {} + + Rename(const Type& _value) : value_(_value) {} + + Rename(Type&& _value) noexcept : value_(std::move(_value)) {} + + Rename(Rename<_name, T>&& _field) noexcept = default; + + Rename(const Rename<_name, Type>& _field) = default; + + template + Rename(const Rename<_name, U>& _field) : value_(_field.get()) {} + + template + Rename(Rename<_name, U>&& _field) : value_(_field.get()) {} + + template , + bool>::type = true> + Rename(const U& _value) : value_(_value) {} + + template , + bool>::type = true> + Rename(U&& _value) noexcept : value_(std::forward(_value)) {} + + template , + bool>::type = true> + Rename(const Rename<_name, U>& _field) : value_(_field.value()) {} + + /// Assigns the underlying object to its default value. + template , + bool>::type = true> + Rename(const Default& _default) : value_(Type()) {} + + ~Rename() = default; + + /// The name of the field, for internal use. + constexpr static const internal::StringLiteral name_ = _name; + + /// Returns the underlying object. + const Type& get() const { return value_; } + + /// Returns the underlying object. + Type& operator()() { return value_; } + + /// Returns the underlying object. + const Type& operator()() const { return value_; } + + /// Assigns the underlying object. + auto& operator=(const Type& _value) { + value_ = _value; + return *this; + } + + /// Assigns the underlying object. + auto& operator=(Type&& _value) noexcept { + value_ = std::move(_value); + return *this; + } + + /// Assigns the underlying object. + template , + bool>::type = true> + auto& operator=(const U& _value) { + value_ = _value; + return *this; + } + + /// Assigns the underlying object to its default value. + template , + bool>::type = true> + auto& operator=(const Default& _default) { + value_ = Type(); + return *this; + } + + /// Assigns the underlying object. + Rename<_name, T>& operator=(const Rename<_name, T>& _field) = default; + + /// Assigns the underlying object. + Rename<_name, T>& operator=(Rename<_name, T>&& _field) = default; + + /// Assigns the underlying object. + template + auto& operator=(const Rename<_name, U>& _field) { + value_ = _field.get(); + return *this; + } + + /// Assigns the underlying object. + template + auto& operator=(Rename<_name, U>&& _field) { + value_ = std::forward(_field.value_); + return *this; + } + + /// Assigns the underlying object. + void set(const Type& _value) { value_ = _value; } + + /// Assigns the underlying object. + void set(Type&& _value) { value_ = std::move(_value); } + + /// Returns the underlying object. + Type& value() { return value_; } + + /// Returns the underlying object. + const Type& value() const { return value_; } + + /// The underlying value. + Type value_; +}; + +} // namespace rfl + +#endif diff --git a/include/rfl/internal/Field.hpp b/include/rfl/internal/Field.hpp new file mode 100644 index 00000000..5d498322 --- /dev/null +++ b/include/rfl/internal/Field.hpp @@ -0,0 +1,20 @@ +#ifndef RFL_INTERNAL_FIELD_TUPLE_T_HPP_ +#define RFL_INTERNAL_FIELD_TUPLE_T_HPP_ + +#include +#include +#include + +#include "rfl/internal/copy_to_field_tuple.hpp" + +namespace rfl { +namespace internal { + +template +using field_tuple_t = + typename std::invoke_result), T>::type; + +} +} // namespace rfl + +#endif diff --git a/include/rfl/internal/Fields.hpp b/include/rfl/internal/Fields.hpp new file mode 100644 index 00000000..b9b242ae --- /dev/null +++ b/include/rfl/internal/Fields.hpp @@ -0,0 +1,23 @@ +#ifndef RFL_INTERNAL_FIELDS_HPP_ +#define RFL_INTERNAL_FIELDS_HPP_ + +#include +#include +#include +#include +#include + +namespace rfl { +namespace internal { + +template +struct Fields { + std::array names_; + + std::unordered_map indices_; +}; + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/get_field_names.hpp b/include/rfl/internal/get_field_names.hpp index b18fb716..f21698eb 100644 --- a/include/rfl/internal/get_field_names.hpp +++ b/include/rfl/internal/get_field_names.hpp @@ -10,7 +10,8 @@ #include "rfl/internal/fake_object.hpp" #include "rfl/internal/has_n_fields.hpp" -#include "rfl/internal/is_field.hpp" +#include "rfl/internal/is_flatten_field.hpp" +#include "rfl/internal/is_rename.hpp" #ifdef __clang__ #pragma clang diagnostic push @@ -22,6 +23,7 @@ namespace internal { template struct Wrapper { + using Type = T; T v; }; @@ -39,22 +41,48 @@ auto get_field_names(); template auto get_field_name() { - using Type = std::decay_t>; - if constexpr (rfl::internal::is_field_v) { + using Type = std::decay_t::Type>>; + if constexpr (is_rename_v) { using Name = typename Type::Name; - return Name().str(); + return std::array{Name().str()}; + } else if constexpr (is_flatten_field_v) { + return get_field_names>(); } else { const std::string func_name = std::source_location::current().function_name(); const size_t begin = func_name.find_last_of(":.") + 1; if (begin == std::string::npos) { - return "f_" + std::to_string(i); + return std::array{"f_" + std::to_string(i)}; } const size_t end = func_name.find_first_of("])}", begin); if (end == std::string::npos) { - return "f_" + std::to_string(i); + return std::array{"f_" + std::to_string(i)}; } - return func_name.substr(begin, end - begin); + return std::array{func_name.substr(begin, end - begin)}; + } +} + +template +auto concat_two_arrays(std::array&& _arr1, + std::array&& _arr2) { + std::array res; + for (size_t i = 0; i < N1; ++i) { + res[i] = std::move(_arr1[i]); + } + for (size_t i = 0; i < N2; ++i) { + res[i + N1] = std::move(_arr2[i]); + } + return res; +} + +template +auto concat_arrays(Head&& _head, Tail&&... _tail) { + if constexpr (sizeof...(_tail) == 0) { + return std::move(_head); + } else { + return concat_two_arrays(std::move(_head), + concat_arrays(std::move(_tail)...)); } } @@ -88,1502 +116,1502 @@ with open("generated_code5.cpp", "w", encoding="utf-8") as codefile: template auto get_field_names() { if constexpr (has_n_fields) { - return std::array({}); + return std::array{}; } else if constexpr (has_n_fields) { auto& [f1] = fake_object; - return std::array({get_field_name<1, wrap(&f1)>()}); + return concat_arrays(get_field_name<1, wrap(&f1)>()); } else if constexpr (has_n_fields) { auto& [f1, f2] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>()}); + return concat_arrays(get_field_name<1, wrap(&f1)>(), + get_field_name<2, wrap(&f2)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3] = fake_object; - return std::array({get_field_name<1, wrap(&f1)>(), - get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>()}); + return concat_arrays(get_field_name<1, wrap(&f1)>(), + get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1591,41 +1619,41 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1633,42 +1661,42 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1676,42 +1704,42 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1719,43 +1747,43 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1763,43 +1791,43 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1807,44 +1835,44 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1852,44 +1880,44 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1897,45 +1925,45 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1943,45 +1971,45 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -1989,46 +2017,46 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2036,46 +2064,46 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2083,47 +2111,47 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2131,47 +2159,47 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2179,48 +2207,48 @@ auto get_field_names() { f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2229,48 +2257,48 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2279,49 +2307,49 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2330,49 +2358,49 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2381,50 +2409,50 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2433,50 +2461,50 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2485,51 +2513,51 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2538,51 +2566,51 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2591,52 +2619,52 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2645,52 +2673,52 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2699,53 +2727,53 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2754,53 +2782,53 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2809,54 +2837,54 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2865,54 +2893,54 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2921,55 +2949,55 @@ auto get_field_names() { f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -2979,55 +3007,55 @@ auto get_field_names() { f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -3037,56 +3065,56 @@ auto get_field_names() { f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), - get_field_name<97, wrap(&f97)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), + get_field_name<97, wrap(&f97)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -3096,56 +3124,56 @@ auto get_field_names() { f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), - get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), + get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -3155,57 +3183,57 @@ auto get_field_names() { f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98, f99] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), - get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>(), - get_field_name<99, wrap(&f99)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), + get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>(), + get_field_name<99, wrap(&f99)>()); } else if constexpr (has_n_fields) { auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, @@ -3215,57 +3243,57 @@ auto get_field_names() { f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98, f99, f100] = fake_object; - return std::array( - {get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), - get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), - get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), - get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), - get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), - get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), - get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), - get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), - get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), - get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), - get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), - get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), - get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), - get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), - get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), - get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), - get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), - get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), - get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), - get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), - get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), - get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), - get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), - get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), - get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), - get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), - get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), - get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), - get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), - get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), - get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), - get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), - get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), - get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), - get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), - get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), - get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), - get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), - get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), - get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), - get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), - get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), - get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), - get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), - get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), - get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), - get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), - get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), - get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>(), - get_field_name<99, wrap(&f99)>(), get_field_name<100, wrap(&f100)>()}); + return concat_arrays( + get_field_name<1, wrap(&f1)>(), get_field_name<2, wrap(&f2)>(), + get_field_name<3, wrap(&f3)>(), get_field_name<4, wrap(&f4)>(), + get_field_name<5, wrap(&f5)>(), get_field_name<6, wrap(&f6)>(), + get_field_name<7, wrap(&f7)>(), get_field_name<8, wrap(&f8)>(), + get_field_name<9, wrap(&f9)>(), get_field_name<10, wrap(&f10)>(), + get_field_name<11, wrap(&f11)>(), get_field_name<12, wrap(&f12)>(), + get_field_name<13, wrap(&f13)>(), get_field_name<14, wrap(&f14)>(), + get_field_name<15, wrap(&f15)>(), get_field_name<16, wrap(&f16)>(), + get_field_name<17, wrap(&f17)>(), get_field_name<18, wrap(&f18)>(), + get_field_name<19, wrap(&f19)>(), get_field_name<20, wrap(&f20)>(), + get_field_name<21, wrap(&f21)>(), get_field_name<22, wrap(&f22)>(), + get_field_name<23, wrap(&f23)>(), get_field_name<24, wrap(&f24)>(), + get_field_name<25, wrap(&f25)>(), get_field_name<26, wrap(&f26)>(), + get_field_name<27, wrap(&f27)>(), get_field_name<28, wrap(&f28)>(), + get_field_name<29, wrap(&f29)>(), get_field_name<30, wrap(&f30)>(), + get_field_name<31, wrap(&f31)>(), get_field_name<32, wrap(&f32)>(), + get_field_name<33, wrap(&f33)>(), get_field_name<34, wrap(&f34)>(), + get_field_name<35, wrap(&f35)>(), get_field_name<36, wrap(&f36)>(), + get_field_name<37, wrap(&f37)>(), get_field_name<38, wrap(&f38)>(), + get_field_name<39, wrap(&f39)>(), get_field_name<40, wrap(&f40)>(), + get_field_name<41, wrap(&f41)>(), get_field_name<42, wrap(&f42)>(), + get_field_name<43, wrap(&f43)>(), get_field_name<44, wrap(&f44)>(), + get_field_name<45, wrap(&f45)>(), get_field_name<46, wrap(&f46)>(), + get_field_name<47, wrap(&f47)>(), get_field_name<48, wrap(&f48)>(), + get_field_name<49, wrap(&f49)>(), get_field_name<50, wrap(&f50)>(), + get_field_name<51, wrap(&f51)>(), get_field_name<52, wrap(&f52)>(), + get_field_name<53, wrap(&f53)>(), get_field_name<54, wrap(&f54)>(), + get_field_name<55, wrap(&f55)>(), get_field_name<56, wrap(&f56)>(), + get_field_name<57, wrap(&f57)>(), get_field_name<58, wrap(&f58)>(), + get_field_name<59, wrap(&f59)>(), get_field_name<60, wrap(&f60)>(), + get_field_name<61, wrap(&f61)>(), get_field_name<62, wrap(&f62)>(), + get_field_name<63, wrap(&f63)>(), get_field_name<64, wrap(&f64)>(), + get_field_name<65, wrap(&f65)>(), get_field_name<66, wrap(&f66)>(), + get_field_name<67, wrap(&f67)>(), get_field_name<68, wrap(&f68)>(), + get_field_name<69, wrap(&f69)>(), get_field_name<70, wrap(&f70)>(), + get_field_name<71, wrap(&f71)>(), get_field_name<72, wrap(&f72)>(), + get_field_name<73, wrap(&f73)>(), get_field_name<74, wrap(&f74)>(), + get_field_name<75, wrap(&f75)>(), get_field_name<76, wrap(&f76)>(), + get_field_name<77, wrap(&f77)>(), get_field_name<78, wrap(&f78)>(), + get_field_name<79, wrap(&f79)>(), get_field_name<80, wrap(&f80)>(), + get_field_name<81, wrap(&f81)>(), get_field_name<82, wrap(&f82)>(), + get_field_name<83, wrap(&f83)>(), get_field_name<84, wrap(&f84)>(), + get_field_name<85, wrap(&f85)>(), get_field_name<86, wrap(&f86)>(), + get_field_name<87, wrap(&f87)>(), get_field_name<88, wrap(&f88)>(), + get_field_name<89, wrap(&f89)>(), get_field_name<90, wrap(&f90)>(), + get_field_name<91, wrap(&f91)>(), get_field_name<92, wrap(&f92)>(), + get_field_name<93, wrap(&f93)>(), get_field_name<94, wrap(&f94)>(), + get_field_name<95, wrap(&f95)>(), get_field_name<96, wrap(&f96)>(), + get_field_name<97, wrap(&f97)>(), get_field_name<98, wrap(&f98)>(), + get_field_name<99, wrap(&f99)>(), get_field_name<100, wrap(&f100)>()); } } diff --git a/include/rfl/internal/is_rename.hpp b/include/rfl/internal/is_rename.hpp new file mode 100644 index 00000000..6b87aaae --- /dev/null +++ b/include/rfl/internal/is_rename.hpp @@ -0,0 +1,35 @@ +#ifndef RFL_INTERNAL_ISRENAME_HPP_ +#define RFL_INTERNAL_ISRENAME_HPP_ + +#include +#include +#include + +#include "rfl/Rename.hpp" +#include "rfl/internal/StringLiteral.hpp" + +namespace rfl { +namespace internal { + +template +class is_rename; + +template +class is_rename : public std::false_type {}; + +template +class is_rename> : public std::true_type {}; + +template +class is_rename*> : public std::true_type {}; + +template +class is_rename*> : public std::true_type {}; + +template +constexpr bool is_rename_v = is_rename::value; + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/to_ptr_field_tuple.hpp b/include/rfl/internal/to_ptr_field_tuple.hpp index bb2773db..d64241a8 100644 --- a/include/rfl/internal/to_ptr_field_tuple.hpp +++ b/include/rfl/internal/to_ptr_field_tuple.hpp @@ -38,2372 +38,2294 @@ with open("generated_code3.cpp", "w", encoding="utf-8") as codefile: template auto to_ptr_field_tuple(const T& _t) { - if constexpr (is_named_tuple_v) { - return nt_to_ptr_named_tuple(_t).fields(); - } else if constexpr (has_n_fields) { - return std::make_tuple(); - } else if constexpr (has_n_fields) { - auto& [f1] = _t; - return std::make_tuple(to_ptr_field(f1)); - } else if constexpr (has_n_fields) { - auto& [f1, f2] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4), - to_ptr_field(f5)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4), - to_ptr_field(f5), to_ptr_field(f6)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4), - to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4), - to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10] = _t; - return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), - to_ptr_field(f3), to_ptr_field(f4), - to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), - to_ptr_field(f9), to_ptr_field(f10)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14] = - _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, - f15] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, - f28] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, - f41] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, - f54] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, - f67] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, - f80] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, - f93] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95, f96] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95), to_ptr_field(f96)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95, f96, f97] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95), to_ptr_field(f96), - to_ptr_field(f97)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95, f96, f97, f98] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95), to_ptr_field(f96), - to_ptr_field(f97), to_ptr_field(f98)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95, f96, f97, f98, f99] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95), to_ptr_field(f96), - to_ptr_field(f97), to_ptr_field(f98), to_ptr_field(f99)); - } else if constexpr (has_n_fields) { - auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, - f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, - f29, f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, - f42, f43, f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, - f55, f56, f57, f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, - f68, f69, f70, f71, f72, f73, f74, f75, f76, f77, f78, f79, f80, - f81, f82, f83, f84, f85, f86, f87, f88, f89, f90, f91, f92, f93, - f94, f95, f96, f97, f98, f99, f100] = _t; - return std::make_tuple( - to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), - to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), - to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), - to_ptr_field(f10), to_ptr_field(f11), to_ptr_field(f12), - to_ptr_field(f13), to_ptr_field(f14), to_ptr_field(f15), - to_ptr_field(f16), to_ptr_field(f17), to_ptr_field(f18), - to_ptr_field(f19), to_ptr_field(f20), to_ptr_field(f21), - to_ptr_field(f22), to_ptr_field(f23), to_ptr_field(f24), - to_ptr_field(f25), to_ptr_field(f26), to_ptr_field(f27), - to_ptr_field(f28), to_ptr_field(f29), to_ptr_field(f30), - to_ptr_field(f31), to_ptr_field(f32), to_ptr_field(f33), - to_ptr_field(f34), to_ptr_field(f35), to_ptr_field(f36), - to_ptr_field(f37), to_ptr_field(f38), to_ptr_field(f39), - to_ptr_field(f40), to_ptr_field(f41), to_ptr_field(f42), - to_ptr_field(f43), to_ptr_field(f44), to_ptr_field(f45), - to_ptr_field(f46), to_ptr_field(f47), to_ptr_field(f48), - to_ptr_field(f49), to_ptr_field(f50), to_ptr_field(f51), - to_ptr_field(f52), to_ptr_field(f53), to_ptr_field(f54), - to_ptr_field(f55), to_ptr_field(f56), to_ptr_field(f57), - to_ptr_field(f58), to_ptr_field(f59), to_ptr_field(f60), - to_ptr_field(f61), to_ptr_field(f62), to_ptr_field(f63), - to_ptr_field(f64), to_ptr_field(f65), to_ptr_field(f66), - to_ptr_field(f67), to_ptr_field(f68), to_ptr_field(f69), - to_ptr_field(f70), to_ptr_field(f71), to_ptr_field(f72), - to_ptr_field(f73), to_ptr_field(f74), to_ptr_field(f75), - to_ptr_field(f76), to_ptr_field(f77), to_ptr_field(f78), - to_ptr_field(f79), to_ptr_field(f80), to_ptr_field(f81), - to_ptr_field(f82), to_ptr_field(f83), to_ptr_field(f84), - to_ptr_field(f85), to_ptr_field(f86), to_ptr_field(f87), - to_ptr_field(f88), to_ptr_field(f89), to_ptr_field(f90), - to_ptr_field(f91), to_ptr_field(f92), to_ptr_field(f93), - to_ptr_field(f94), to_ptr_field(f95), to_ptr_field(f96), - to_ptr_field(f97), to_ptr_field(f98), to_ptr_field(f99), - to_ptr_field(f100)); + if constexpr (std::is_pointer_v>) { + return to_ptr_field_tuple(*_t); + } else if constexpr (is_named_tuple_v) { + return nt_to_ptr_named_tuple(_t).fields(); + } else if constexpr (has_n_fields) { + return std::make_tuple(); + } else if constexpr (has_n_fields) { + auto& [f1] = _t; + return std::make_tuple(to_ptr_field(f1)); + } else if constexpr (has_n_fields) { + auto& [f1, f2] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), + to_ptr_field(f3)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), + to_ptr_field(f6)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), + to_ptr_field(f10)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), + to_ptr_field(f10), to_ptr_field(f11)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), + to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13] = _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), + to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15] = + _t; + return std::make_tuple(to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), + to_ptr_field(f4), to_ptr_field(f5), to_ptr_field(f6), + to_ptr_field(f7), to_ptr_field(f8), to_ptr_field(f9), + to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), + to_ptr_field(f14), to_ptr_field(f15)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, + f29] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, + f43] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, + f57] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, + f71] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, + f85] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95), + to_ptr_field(f96)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95), + to_ptr_field(f96), to_ptr_field(f97)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98] = + _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95), + to_ptr_field(f96), to_ptr_field(f97), to_ptr_field(f98)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98, + f99] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95), + to_ptr_field(f96), to_ptr_field(f97), to_ptr_field(f98), + to_ptr_field(f99)); + } else if constexpr (has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, + f16, f17, f18, f19, f20, f21, f22, f23, f24, f25, f26, f27, f28, f29, + f30, f31, f32, f33, f34, f35, f36, f37, f38, f39, f40, f41, f42, f43, + f44, f45, f46, f47, f48, f49, f50, f51, f52, f53, f54, f55, f56, f57, + f58, f59, f60, f61, f62, f63, f64, f65, f66, f67, f68, f69, f70, f71, + f72, f73, f74, f75, f76, f77, f78, f79, f80, f81, f82, f83, f84, f85, + f86, f87, f88, f89, f90, f91, f92, f93, f94, f95, f96, f97, f98, f99, + f100] = _t; + return std::make_tuple( + to_ptr_field(f1), to_ptr_field(f2), to_ptr_field(f3), to_ptr_field(f4), + to_ptr_field(f5), to_ptr_field(f6), to_ptr_field(f7), to_ptr_field(f8), + to_ptr_field(f9), to_ptr_field(f10), to_ptr_field(f11), + to_ptr_field(f12), to_ptr_field(f13), to_ptr_field(f14), + to_ptr_field(f15), to_ptr_field(f16), to_ptr_field(f17), + to_ptr_field(f18), to_ptr_field(f19), to_ptr_field(f20), + to_ptr_field(f21), to_ptr_field(f22), to_ptr_field(f23), + to_ptr_field(f24), to_ptr_field(f25), to_ptr_field(f26), + to_ptr_field(f27), to_ptr_field(f28), to_ptr_field(f29), + to_ptr_field(f30), to_ptr_field(f31), to_ptr_field(f32), + to_ptr_field(f33), to_ptr_field(f34), to_ptr_field(f35), + to_ptr_field(f36), to_ptr_field(f37), to_ptr_field(f38), + to_ptr_field(f39), to_ptr_field(f40), to_ptr_field(f41), + to_ptr_field(f42), to_ptr_field(f43), to_ptr_field(f44), + to_ptr_field(f45), to_ptr_field(f46), to_ptr_field(f47), + to_ptr_field(f48), to_ptr_field(f49), to_ptr_field(f50), + to_ptr_field(f51), to_ptr_field(f52), to_ptr_field(f53), + to_ptr_field(f54), to_ptr_field(f55), to_ptr_field(f56), + to_ptr_field(f57), to_ptr_field(f58), to_ptr_field(f59), + to_ptr_field(f60), to_ptr_field(f61), to_ptr_field(f62), + to_ptr_field(f63), to_ptr_field(f64), to_ptr_field(f65), + to_ptr_field(f66), to_ptr_field(f67), to_ptr_field(f68), + to_ptr_field(f69), to_ptr_field(f70), to_ptr_field(f71), + to_ptr_field(f72), to_ptr_field(f73), to_ptr_field(f74), + to_ptr_field(f75), to_ptr_field(f76), to_ptr_field(f77), + to_ptr_field(f78), to_ptr_field(f79), to_ptr_field(f80), + to_ptr_field(f81), to_ptr_field(f82), to_ptr_field(f83), + to_ptr_field(f84), to_ptr_field(f85), to_ptr_field(f86), + to_ptr_field(f87), to_ptr_field(f88), to_ptr_field(f89), + to_ptr_field(f90), to_ptr_field(f91), to_ptr_field(f92), + to_ptr_field(f93), to_ptr_field(f94), to_ptr_field(f95), + to_ptr_field(f96), to_ptr_field(f97), to_ptr_field(f98), + to_ptr_field(f99), to_ptr_field(f100)); - // --------------------------------- - // End of generated boilerplate code - // --------------------------------- - } else { - static_assert( - rfl::always_false_v, - "\n\nThis error occurs for one of two reasons:\n\n" - "1) You have created a struct with more than 100 fields, which is " - "unsupported. Please split up your struct into several " - "smaller structs and then use rfl::Flatten<...> to combine them. " - "Refer " - "to the documentation on rfl::Flatten<...> for details.\n\n" - "2) You have added a custom constructor to your struct, which you " - "shouldn't do either. Please refer to the sections on custom " - "classes or custom parsers in the documentation " - "for solutions to this problem.\n\n"); - } + // --------------------------------- + // End of generated boilerplate code + // --------------------------------- + } else { + static_assert( + rfl::always_false_v, + "\n\nThis error occurs for one of two reasons:\n\n" + "1) You have created a struct with more than 100 fields, which is " + "unsupported. Please split up your struct into several " + "smaller structs and then use rfl::Flatten<...> to combine them. " + "Refer " + "to the documentation on rfl::Flatten<...> for details.\n\n" + "2) You have added a custom constructor to your struct, which you " + "shouldn't do either. Please refer to the sections on custom " + "classes or custom parsers in the documentation " + "for solutions to this problem.\n\n"); + } } } // namespace internal diff --git a/include/rfl/internal/to_ptr_named_tuple.hpp b/include/rfl/internal/to_ptr_named_tuple.hpp index a6fb6d6f..28a3cc5c 100644 --- a/include/rfl/internal/to_ptr_named_tuple.hpp +++ b/include/rfl/internal/to_ptr_named_tuple.hpp @@ -16,47 +16,49 @@ namespace internal { template auto flatten_ptr_field_tuple(const PtrFieldTuple& _t, Args&&... _args) { - constexpr auto i = sizeof...(Args); - if constexpr (i == std::tuple_size_v>) { - return std::tuple_cat(std::forward(_args)...); + constexpr auto i = sizeof...(Args); + if constexpr (i == std::tuple_size_v>) { + return std::tuple_cat(std::forward(_args)...); + } else { + using T = std::tuple_element_t>; + if constexpr (internal::is_flatten_field::value) { + const auto subtuple = + internal::to_ptr_field_tuple(*std::get(_t).get()); + return flatten_ptr_field_tuple(_t, std::forward(_args)..., + flatten_ptr_field_tuple(subtuple)); } else { - using T = std::tuple_element_t>; - if constexpr (internal::is_flatten_field::value) { - const auto subtuple = - internal::to_ptr_field_tuple(*std::get(_t).get()); - return flatten_ptr_field_tuple(_t, std::forward(_args)..., - flatten_ptr_field_tuple(subtuple)); - } else { - return flatten_ptr_field_tuple(_t, std::forward(_args)..., - std::make_tuple(std::get(_t))); - } + return flatten_ptr_field_tuple(_t, std::forward(_args)..., + std::make_tuple(std::get(_t))); } + } } template auto field_tuple_to_named_tuple(const PtrFieldTuple& _ptr_field_tuple) { - const auto ft_to_nt = [](const Fields&... _fields) { - return make_named_tuple(_fields...); - }; + const auto ft_to_nt = [](const Fields&... _fields) { + return make_named_tuple(_fields...); + }; - if constexpr (!has_flatten_fields>()) { - return std::apply(ft_to_nt, std::move(_ptr_field_tuple)); - } else { - const auto flattened_tuple = flatten_ptr_field_tuple(_ptr_field_tuple); - return std::apply(ft_to_nt, flattened_tuple); - } + if constexpr (!has_flatten_fields>()) { + return std::apply(ft_to_nt, std::move(_ptr_field_tuple)); + } else { + const auto flattened_tuple = flatten_ptr_field_tuple(_ptr_field_tuple); + return std::apply(ft_to_nt, flattened_tuple); + } } /// Generates a named tuple that contains pointers to the original values in /// the struct. template auto to_ptr_named_tuple(const T& _t) { - if constexpr (is_named_tuple_v>) { - return nt_to_ptr_named_tuple(_t); - } else { - const auto ptr_field_tuple = to_ptr_field_tuple(_t); - return field_tuple_to_named_tuple(ptr_field_tuple); - } + if constexpr (std::is_pointer_v>) { + return to_ptr_named_tuple(*_t); + } else if constexpr (is_named_tuple_v>) { + return nt_to_ptr_named_tuple(_t); + } else { + const auto ptr_field_tuple = to_ptr_field_tuple(_t); + return field_tuple_to_named_tuple(ptr_field_tuple); + } } } // namespace internal diff --git a/include/rfl/internal/to_ptr_tuple.hpp b/include/rfl/internal/to_ptr_tuple.hpp index eb792d3e..72a55b99 100644 --- a/include/rfl/internal/to_ptr_tuple.hpp +++ b/include/rfl/internal/to_ptr_tuple.hpp @@ -38,7 +38,9 @@ with open("generated_code4.cpp", "w", encoding="utf-8") as codefile: template auto to_ptr_tuple(const T& _t) { - if constexpr (has_n_fields) { + if constexpr (std::is_pointer_v>) { + return to_ptr_tuple(*_t); + } else if constexpr (has_n_fields) { return std::make_tuple(); } else if constexpr (has_n_fields) { auto& [f1] = _t; diff --git a/include/rfl/json/Writer.hpp b/include/rfl/json/Writer.hpp index f628b5d2..61d86b4f 100644 --- a/include/rfl/json/Writer.hpp +++ b/include/rfl/json/Writer.hpp @@ -19,77 +19,76 @@ namespace rfl { namespace json { struct Writer { - struct YYJSONOutputArray { - YYJSONOutputArray(yyjson_mut_val* _val) : val_(_val) {} - yyjson_mut_val* val_; - }; + struct YYJSONOutputArray { + YYJSONOutputArray(yyjson_mut_val* _val) : val_(_val) {} + yyjson_mut_val* val_; + }; - struct YYJSONOutputObject { - YYJSONOutputObject(yyjson_mut_val* _val) : val_(_val) {} - yyjson_mut_val* val_; - }; + struct YYJSONOutputObject { + YYJSONOutputObject(yyjson_mut_val* _val) : val_(_val) {} + yyjson_mut_val* val_; + }; - struct YYJSONOutputVar { - YYJSONOutputVar(yyjson_mut_val* _val) : val_(_val) {} + struct YYJSONOutputVar { + YYJSONOutputVar(yyjson_mut_val* _val) : val_(_val) {} - YYJSONOutputVar(YYJSONOutputArray _arr) : val_(_arr.val_) {} + YYJSONOutputVar(YYJSONOutputArray _arr) : val_(_arr.val_) {} - YYJSONOutputVar(YYJSONOutputObject _obj) : val_(_obj.val_) {} + YYJSONOutputVar(YYJSONOutputObject _obj) : val_(_obj.val_) {} - yyjson_mut_val* val_; - }; + yyjson_mut_val* val_; + }; - using OutputArrayType = YYJSONOutputArray; - using OutputObjectType = YYJSONOutputObject; - using OutputVarType = YYJSONOutputVar; + using OutputArrayType = YYJSONOutputArray; + using OutputObjectType = YYJSONOutputObject; + using OutputVarType = YYJSONOutputVar; - Writer(yyjson_mut_doc* _doc) : doc_(_doc) {} + Writer(yyjson_mut_doc* _doc) : doc_(_doc) {} - ~Writer() = default; + ~Writer() = default; - void add(const OutputVarType _var, OutputArrayType* _arr) const noexcept { - yyjson_mut_arr_add_val(_arr->val_, _var.val_); + void add(const OutputVarType _var, OutputArrayType* _arr) const noexcept { + yyjson_mut_arr_add_val(_arr->val_, _var.val_); + } + + OutputVarType empty_var() const noexcept { + return OutputVarType(yyjson_mut_null(doc_)); + } + + template + OutputVarType from_basic_type(const T& _var) const noexcept { + if constexpr (std::is_same, std::string>()) { + return OutputVarType(yyjson_mut_strcpy(doc_, _var.c_str())); + } else if constexpr (std::is_same, bool>()) { + return OutputVarType(yyjson_mut_bool(doc_, _var)); + } else if constexpr (std::is_floating_point>()) { + return OutputVarType(yyjson_mut_real(doc_, static_cast(_var))); + } else if constexpr (std::is_integral>()) { + return OutputVarType(yyjson_mut_int(doc_, static_cast(_var))); + } else { + static_assert(rfl::always_false_v, "Unsupported type."); } + } - OutputVarType empty_var() const noexcept { - return OutputVarType(yyjson_mut_null(doc_)); - } + OutputArrayType new_array() const noexcept { + return OutputArrayType(yyjson_mut_arr(doc_)); + } - template - OutputVarType from_basic_type(const T& _var) const noexcept { - if constexpr (std::is_same, std::string>()) { - return OutputVarType(yyjson_mut_strcpy(doc_, _var.c_str())); - } else if constexpr (std::is_same, bool>()) { - return OutputVarType(yyjson_mut_bool(doc_, _var)); - } else if constexpr (std::is_floating_point>()) { - return OutputVarType( - yyjson_mut_real(doc_, static_cast(_var))); - } else if constexpr (std::is_integral>()) { - return OutputVarType(yyjson_mut_int(doc_, static_cast(_var))); - } else { - static_assert(rfl::always_false_v, "Unsupported type."); - } - } + OutputObjectType new_object() const noexcept { + return OutputObjectType(yyjson_mut_obj(doc_)); + } - OutputArrayType new_array() const noexcept { - return OutputArrayType(yyjson_mut_arr(doc_)); - } + bool is_empty(const OutputVarType& _var) const noexcept { + return yyjson_mut_is_null(_var.val_); + } - OutputObjectType new_object() const noexcept { - return OutputObjectType(yyjson_mut_obj(doc_)); - } + void set_field(const std::string& _name, const OutputVarType& _var, + OutputObjectType* _obj) const noexcept { + yyjson_mut_obj_add(_obj->val_, yyjson_mut_strcpy(doc_, _name.c_str()), + _var.val_); + } - bool is_empty(const OutputVarType& _var) const noexcept { - return yyjson_mut_is_null(_var.val_); - } - - void set_field(const std::string& _name, const OutputVarType& _var, - OutputObjectType* _obj) const noexcept { - yyjson_mut_obj_add(_obj->val_, yyjson_mut_strcpy(doc_, _name.c_str()), - _var.val_); - } - - yyjson_mut_doc* doc_; + yyjson_mut_doc* doc_; }; } // namespace json diff --git a/include/rfl/parsing/Parser.hpp b/include/rfl/parsing/Parser.hpp index 4e70bbb2..818f81b9 100644 --- a/include/rfl/parsing/Parser.hpp +++ b/include/rfl/parsing/Parser.hpp @@ -1,6 +1,8 @@ #ifndef RFL_PARSING_PARSER_HPP_ #define RFL_PARSING_PARSER_HPP_ +#include + #include #include #include @@ -29,10 +31,13 @@ #include "rfl/always_false.hpp" #include "rfl/field_type.hpp" #include "rfl/from_named_tuple.hpp" +#include "rfl/internal/Fields.hpp" #include "rfl/internal/Memoization.hpp" #include "rfl/internal/StringLiteral.hpp" #include "rfl/internal/all_fields.hpp" +#include "rfl/internal/flattened_ptr_tuple_t.hpp" #include "rfl/internal/flattened_tuple_t.hpp" +#include "rfl/internal/get_field_names.hpp" #include "rfl/internal/has_fields.hpp" #include "rfl/internal/has_reflection_method_v.hpp" #include "rfl/internal/has_reflection_type_v.hpp" @@ -44,6 +49,7 @@ #include "rfl/internal/tuple_t.hpp" #include "rfl/named_tuple_t.hpp" #include "rfl/parsing/AreReaderAndWriter.hpp" +#include "rfl/parsing/TaggedUnionWrapper.hpp" #include "rfl/parsing/is_forward_list.hpp" #include "rfl/parsing/is_map_like.hpp" #include "rfl/parsing/is_map_like_not_multimap.hpp" @@ -71,7 +77,7 @@ struct StructParser { using OutputObjectType = typename W::OutputObjectType; using OutputVarType = typename W::OutputVarType; - using PtrTupleType = internal::ptr_tuple_t; + using PtrTupleType = internal::flattened_ptr_tuple_t; using TupleType = internal::flattened_tuple_t; static constexpr auto tuple_size = std::tuple_size_v; @@ -90,7 +96,7 @@ struct StructParser { return _r.template to_fields_array(fct, _obj); }; - const auto build_tuple = [&](auto _fields_vec) -> TupleType { + const auto build_tuple = [&](auto _fields_vec) -> Result { return build_tuple_recursively(_r, _fields_vec); }; @@ -218,7 +224,7 @@ struct StructParser { using ValueType = std::decay_t::type>; - auto value = Parser::write(_w, rfl::get<_i>(_tup)); + auto value = Parser::write(_w, std::get<_i>(_tup)); const auto& key = std::get<_i>(field_names()); @@ -238,16 +244,14 @@ struct StructParser { /// There are some objects that we are likely to parse many times, /// so we only calculate these indices once. static const auto& field_indices() noexcept { - // return field_indices_.value(set_field_indices<0>); - return field_indices_; + return fields_.value(make_fields).indices_; } /// Uses a memoization pattern to retrieve the field names. /// There are some objects that we are likely to parse many times, /// so we only calculate these indices once. static const auto& field_names() noexcept { - // return field_indices_.value(set_field_indices<0>); - return field_names_; + return fields_.value(make_fields).names_; } /// Retrieves the value from the object. This is mainly needed to @@ -262,31 +266,17 @@ struct StructParser { } /// Builds the object field by field. - /*template - static void set_field_indices( - std::unordered_map* - _field_indices) noexcept { - if constexpr (_i >= sizeof...(FieldTypes)) { - return; - } else { - using FieldType = - typename std::tuple_element<_i, std::tuple>::type; - const auto name = FieldType::name_.string_view(); - (*_field_indices)[name] = static_cast(_i); - set_field_indices<_i + 1>(_field_indices); + static void make_fields(internal::Fields* _fields) noexcept { + _fields->names_ = internal::get_field_names(); + for (size_t i = 0; i < tuple_size; ++i) { + _fields->indices_[_fields->names_[i]] = static_cast(i); } - }*/ + } private: - /// Maps each of the field names to an index signifying their order. - /*static inline internal::Memoization< - std::unordered_map> - field_indices_;*/ - - static inline std::array field_names_; - - static inline std::unordered_map - field_indices_; + /// Maps each of the field names to an index signifying their order and + /// vice-versa. + static inline internal::Memoization> fields_; }; // ---------------------------------------------------------------------------- @@ -326,11 +316,7 @@ struct Parser { return Parser::read(_r, _var).and_then( to_struct); } else { - using TupleType = internal::flattened_tuple_t; - const auto to_struct = [](TupleType&& _t) -> T { - return internal::move_from_tuple(std::move(_t)); - }; - return Parser::read(_r, _var).transform(to_struct); + return StructParser::read(_r, _var); } } else if constexpr (internal::is_basic_type_v) { return _r.template to_basic_type>(_var); @@ -360,9 +346,7 @@ struct Parser { using PtrNamedTupleType = std::decay_t; return Parser::write(_w, ptr_named_tuple); } else { - const auto ptr_tuple = internal::to_flattened_ptr_tuple(_var); - using PtrTupleType = std::decay_t; - return Parser::write(_w, ptr_tuple); + return StructParser::write(_w, _var); } } else if constexpr (internal::is_basic_type_v) { return _w.from_basic_type(_var); @@ -862,6 +846,28 @@ struct Parser> { // ---------------------------------------------------------------------------- +template +requires AreReaderAndWriter> +struct Parser> { + using InputVarType = typename R::InputVarType; + using OutputVarType = typename W::OutputVarType; + + static Result> read(const R& _r, + const InputVarType& _var) noexcept { + const auto to_rename = [](auto&& _t) { + return Rename<_name, T>(std::move(_t)); + }; + return Parser>::read(_r, _var).transform(to_rename); + } + + static OutputVarType write(const W& _w, + const Rename<_name, T>& _rename) noexcept { + return Parser>::write(_w, _rename.value()); + } +}; + +// ---------------------------------------------------------------------------- + template requires AreReaderAndWriter> struct Parser> { @@ -997,9 +1003,10 @@ struct Parser> { static OutputVarType write( const W& _w, const TaggedUnion<_discriminator, AlternativeTypes...>& _tagged_union) noexcept { - using VariantType = - typename TaggedUnion<_discriminator, AlternativeTypes...>::VariantType; - return Parser::write(_w, _tagged_union.variant_); + const auto handle = [&](const auto& _val) -> OutputVarType { + return write_wrapped(_w, _val); + }; + return std::visit(handle, _tagged_union.variant_); } private: @@ -1061,14 +1068,42 @@ struct Parser> { static inline bool contains_disc_value( const std::string& _disc_value) noexcept { if constexpr (!internal::has_reflection_type_v) { - using LiteralType = field_type_t<_discriminator, T>; + using LiteralType = typename T::Tag; return LiteralType::contains(_disc_value); } else { - using LiteralType = - field_type_t<_discriminator, typename T::ReflectionType>; + using LiteralType = typename T::ReflectionType::Tag; return LiteralType::contains(_disc_value); } } + + template + static inline auto make_tag() noexcept { + if constexpr (!internal::has_reflection_type_v) { + using LiteralType = typename T::Tag; + return LiteralType::template name_of<0>(); + } else { + using LiteralType = typename T::ReflectionType::Tag; + return LiteralType::template name_of<0>(); + } + } + + /// Writes a wrapped version of the original object, which contains the tag. + template + static OutputVarType write_wrapped(const W& _w, const T& _val) noexcept { + const auto tag = make_tag(); + using TagType = std::decay_t; + if constexpr (internal::has_fields>()) { + using WrapperType = + TaggedUnionWrapperWithFields; + const auto wrapper = WrapperType{.tag = tag, .fields = &_val}; + return Parser::write(_w, wrapper); + } else { + using WrapperType = + TaggedUnionWrapperNoFields; + const auto wrapper = WrapperType{.tag = tag, .fields = &_val}; + return Parser::write(_w, wrapper); + } + } }; // ---------------------------------------------------------------------------- diff --git a/include/rfl/parsing/TaggedUnionWrapper.hpp b/include/rfl/parsing/TaggedUnionWrapper.hpp new file mode 100644 index 00000000..474c8abc --- /dev/null +++ b/include/rfl/parsing/TaggedUnionWrapper.hpp @@ -0,0 +1,28 @@ +#ifndef RFL_PARSING_TAGGEDUNIONWRAPPER_HPP_ +#define RFL_PARSING_TAGGEDUNIONWRAPPER_HPP_ + +#include + +#include "rfl/Flatten.hpp" +#include "rfl/Rename.hpp" +#include "rfl/internal/StringLiteral.hpp" + +namespace rfl { +namespace parsing { + +template +struct TaggedUnionWrapperNoFields { + rfl::Rename<_discriminator, LiteralType> tag; + rfl::Flatten fields; +}; + +template +struct TaggedUnionWrapperWithFields { + rfl::Field<_discriminator, LiteralType> tag; + rfl::Flatten fields; +}; + +} // namespace parsing +} // namespace rfl + +#endif diff --git a/tests/json/test_all_of.hpp b/tests/json/test_all_of.hpp index c9c23f2d..5003a9d6 100644 --- a/tests/json/test_all_of.hpp +++ b/tests/json/test_all_of.hpp @@ -6,20 +6,23 @@ #include "write_and_read.hpp" -void test_all_of() { +namespace test_all_of { + +using Age = rfl::Validator, rfl::Maximum<130>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + Age age; +}; + +void test() { std::cout << "test_all_of" << std::endl; - using Age = rfl::Validator, rfl::Maximum<130>>; - - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"age", Age> age; - }; - const auto homer = Person{.first_name = "Homer", .last_name = "Simpson", .age = 45}; write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson","age":45})"); } +} // namespace test_all_of diff --git a/tests/json/test_alphanumeric_map.hpp b/tests/json/test_alphanumeric_map.hpp index 00129208..a92c30e5 100644 --- a/tests/json/test_alphanumeric_map.hpp +++ b/tests/json/test_alphanumeric_map.hpp @@ -7,7 +7,9 @@ #include "write_and_read.hpp" -void test_alphanumeric_map() { +namespace test_alphanumeric_map { + +void test() { std::cout << "test_alphanumeric_map" << std::endl; std::map> homer; @@ -18,3 +20,5 @@ void test_alphanumeric_map() { write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson"})"); } + +} // namespace test_alphanumeric_map diff --git a/tests/json/test_alphanumeric_unordered_map.hpp b/tests/json/test_alphanumeric_unordered_map.hpp index 81a2a67d..bb07dbe7 100644 --- a/tests/json/test_alphanumeric_unordered_map.hpp +++ b/tests/json/test_alphanumeric_unordered_map.hpp @@ -7,7 +7,8 @@ #include "write_and_read.hpp" -void test_alphanumeric_unordered_map() { +namespace test_alphanumeric_unordered_map { +void test() { std::cout << "test_alphanumeric_unordered_map" << std::endl; using Map = @@ -24,3 +25,4 @@ void test_alphanumeric_unordered_map() { const auto homer2 = rfl::json::read(json_string); std::cout << "OK" << std::endl << std::endl; } +} // namespace test_alphanumeric_unordered_map diff --git a/tests/json/test_anonymous_fields.hpp b/tests/json/test_anonymous_fields.hpp index bb480e53..405a2d64 100644 --- a/tests/json/test_anonymous_fields.hpp +++ b/tests/json/test_anonymous_fields.hpp @@ -6,21 +6,23 @@ #include "write_and_read.hpp" -void test_anonymous_fields() { +namespace test_anonymous_fields { + +using Age = rfl::Validator, rfl::Maximum<130>>>; + +struct Person { + std::string first_name; + std::string last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + Age age; + rfl::Email email; + std::vector children; +}; + +void test() { std::cout << "test_anonymous_fields" << std::endl; - using Age = rfl::Validator, rfl::Maximum<130>>>; - - struct Person { - std::string first_name; - std::string last_name; - rfl::Timestamp<"%Y-%m-%d"> birthday; - Age age; - rfl::Email email; - std::vector children; - }; - const auto bart = Person{.first_name = "Bart", .last_name = "Simpson", .birthday = "1987-04-19", @@ -49,5 +51,6 @@ void test_anonymous_fields() { write_and_read( homer, - R"(["Homer","Simpson","1987-04-19",45,"homer@simpson.com",[["Bart","Simpson","1987-04-19",10,"bart@simpson.com",[]],["Lisa","Simpson","1987-04-19",8,"lisa@simpson.com",[]],["Maggie","Simpson","1987-04-19",0,"maggie@simpson.com",[]]]])"); + R"({"first_name":"Homer","last_name":"Simpson","birthday":"1987-04-19","age":45,"email":"homer@simpson.com","children":[{"first_name":"Bart","last_name":"Simpson","birthday":"1987-04-19","age":10,"email":"bart@simpson.com","children":[]},{"first_name":"Lisa","last_name":"Simpson","birthday":"1987-04-19","age":8,"email":"lisa@simpson.com","children":[]},{"first_name":"Maggie","last_name":"Simpson","birthday":"1987-04-19","age":0,"email":"maggie@simpson.com","children":[]}]})"); } +} // namespace test_anonymous_fields diff --git a/tests/json/test_any_of.hpp b/tests/json/test_any_of.hpp index 96cb7345..dbbdd5d5 100644 --- a/tests/json/test_any_of.hpp +++ b/tests/json/test_any_of.hpp @@ -6,23 +6,27 @@ #include "write_and_read.hpp" -void test_any_of() { +namespace test_any_of { + +using Age = + rfl::Validator, rfl::Maximum<10>>, + rfl::AllOf, rfl::Maximum<130>>>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + Age age; +}; + +void test() { std::cout << "test_any_of" << std::endl; - using Age = rfl::Validator< - unsigned int, - rfl::AnyOf, rfl::Maximum<10>>, - rfl::AllOf, rfl::Maximum<130>>>>; - - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"age", Age> age; - }; - const auto homer = Person{.first_name = "Homer", .last_name = "Simpson", .age = 45}; write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson","age":45})"); } + +} // namespace test_any_of diff --git a/tests/json/test_array.hpp b/tests/json/test_array.hpp index c0923536..bacd21a1 100644 --- a/tests/json/test_array.hpp +++ b/tests/json/test_array.hpp @@ -7,32 +7,33 @@ #include "write_and_read.hpp" -void test_array() { - std::cout << "test_array" << std::endl; +namespace test_array { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children = nullptr; +}; - auto bart = Person{.first_name = "Bart"}; +void test() { + std::cout << "test_array" << std::endl; - auto lisa = Person{.first_name = "Lisa"}; + auto bart = Person{.first_name = "Bart"}; - auto maggie = Person{.first_name = "Maggie"}; + auto lisa = Person{.first_name = "Lisa"}; - const auto homer = Person{ - .first_name = "Homer", - .children = - std::make_unique>(std::array{ - std::move(bart), std::move(lisa), std::move(maggie)})}; + auto maggie = Person{.first_name = "Maggie"}; - write_and_read( - homer, - "{\"firstName\":\"Homer\",\"lastName\":\"Simpson\",\"children\":[{" - "\"firstName\":\"Bart\",\"lastName\":\"Simpson\"},{" - "\"firstName\":\"Lisa\",\"lastName\":\"Simpson\"},{" - "\"firstName\":\"Maggie\",\"lastName\":\"Simpson\"}]}"); + const auto homer = Person{ + .first_name = "Homer", + .children = std::make_unique>(std::array{ + std::move(bart), std::move(lisa), std::move(maggie)})}; + + write_and_read( + homer, + "{\"firstName\":\"Homer\",\"lastName\":\"Simpson\",\"children\":[{" + "\"firstName\":\"Bart\",\"lastName\":\"Simpson\"},{" + "\"firstName\":\"Lisa\",\"lastName\":\"Simpson\"},{" + "\"firstName\":\"Maggie\",\"lastName\":\"Simpson\"}]}"); } +} // namespace test_array diff --git a/tests/json/test_as.hpp b/tests/json/test_as.hpp index a6f39395..87024573 100644 --- a/tests/json/test_as.hpp +++ b/tests/json/test_as.hpp @@ -7,30 +7,34 @@ #include "write_and_read.hpp" -void test_as() { - std::cout << "test_as" << std::endl; +namespace test_as { - struct A { - rfl::Field<"f1", std::string> f1; - rfl::Field<"f2", rfl::Box> f2; - }; +struct A { + rfl::Field<"f1", std::string> f1; + rfl::Field<"f2", rfl::Box> f2; +}; - struct B { - rfl::Field<"f3", std::string> f3; - rfl::Field<"f4", rfl::Box> f4; - }; +struct B { + rfl::Field<"f3", std::string> f3; + rfl::Field<"f4", rfl::Box> f4; +}; - struct C { - rfl::Field<"f1", std::string> f1; - rfl::Field<"f2", rfl::Box> f2; - rfl::Field<"f4", rfl::Box> f4; - }; +struct C { + rfl::Field<"f1", std::string> f1; + rfl::Field<"f2", rfl::Box> f2; + rfl::Field<"f4", rfl::Box> f4; +}; - auto a = A{.f1 = "Hello", .f2 = rfl::make_box("World")}; +void test() { + std::cout << "test_as" << std::endl; - auto b = B{.f3 = "Hello", .f4 = rfl::make_box("World")}; + auto a = A{.f1 = "Hello", .f2 = rfl::make_box("World")}; - const auto c = rfl::as(std::move(a), std::move(b)); + auto b = B{.f3 = "Hello", .f4 = rfl::make_box("World")}; - write_and_read(c, R"({"f1":"Hello","f2":"World","f4":"World"})"); + const auto c = rfl::as(std::move(a), std::move(b)); + + write_and_read(c, R"({"f1":"Hello","f2":"World","f4":"World"})"); } + +} // namespace test_as diff --git a/tests/json/test_box.hpp b/tests/json/test_box.hpp index 9317efdd..4c35cbe6 100644 --- a/tests/json/test_box.hpp +++ b/tests/json/test_box.hpp @@ -7,39 +7,42 @@ #include "write_and_read.hpp" -void test_box() { - std::cout << "test_box" << std::endl; +namespace test_box { - struct DecisionTree { - struct Leaf { - rfl::Field<"type", rfl::Literal<"Leaf">> type = rfl::default_value; - rfl::Field<"value", double> value; - }; +struct DecisionTree { + struct Leaf { + using Tag = rfl::Literal<"Leaf">; + rfl::Field<"value", double> value; + }; - struct Node { - rfl::Field<"type", rfl::Literal<"Node">> type = rfl::default_value; - rfl::Field<"criticalValue", double> critical_value; - rfl::Field<"left", rfl::Box> lesser; - rfl::Field<"right", rfl::Box> greater; - }; + struct Node { + using Tag = rfl::Literal<"Node">; + rfl::Field<"criticalValue", double> critical_value; + rfl::Field<"left", rfl::Box> lesser; + rfl::Field<"right", rfl::Box> greater; + }; - using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; + using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; - rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; - }; + rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; +}; - auto leaf1 = DecisionTree::Leaf{.value = 3.0}; +void test() { + std::cout << "test_box" << std::endl; - auto leaf2 = DecisionTree::Leaf{.value = 5.0}; + auto leaf1 = DecisionTree::Leaf{.value = 3.0}; - auto node = DecisionTree::Node{ - .critical_value = 10.0, - .lesser = rfl::make_box(DecisionTree{leaf1}), - .greater = rfl::make_box(DecisionTree{leaf2})}; + auto leaf2 = DecisionTree::Leaf{.value = 5.0}; - const DecisionTree tree{.leaf_or_node = std::move(node)}; + auto node = DecisionTree::Node{ + .critical_value = 10.0, + .lesser = rfl::make_box(DecisionTree{leaf1}), + .greater = rfl::make_box(DecisionTree{leaf2})}; - write_and_read( - tree, - R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); + const DecisionTree tree{.leaf_or_node = std::move(node)}; + + write_and_read( + tree, + R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); } +} // namespace test_box diff --git a/tests/json/test_custom_class1.hpp b/tests/json/test_custom_class1.hpp index 42670065..0b4bbacf 100644 --- a/tests/json/test_custom_class1.hpp +++ b/tests/json/test_custom_class1.hpp @@ -7,32 +7,34 @@ #include "write_and_read.hpp" -void test_custom_class1() { - std::cout << "test_custom_class1" << std::endl; +namespace test_custom_class1 { - struct Person { - struct PersonImpl { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::vector> children = - rfl::default_value; - }; +struct Person { + struct PersonImpl { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::vector children; + }; - using ReflectionType = PersonImpl; + using ReflectionType = PersonImpl; - Person(const PersonImpl& _impl) : impl(_impl) {} + Person(const PersonImpl& _impl) : impl(_impl) {} - Person(const std::string& _first_name) - : impl(PersonImpl{.first_name = _first_name}) {} + Person(const std::string& _first_name) + : impl(PersonImpl{.first_name = _first_name}) {} - const ReflectionType& reflection() const { return impl; }; + const ReflectionType& reflection() const { return impl; }; - private: - PersonImpl impl; - }; + private: + PersonImpl impl; +}; - const auto bart = Person("Bart"); +void test() { + std::cout << "test_custom_class1" << std::endl; - write_and_read( - bart, R"({"firstName":"Bart","lastName":"Simpson","children":[]})"); + const auto bart = Person("Bart"); + + write_and_read(bart, + R"({"firstName":"Bart","lastName":"Simpson","children":[]})"); } +} // namespace test_custom_class1 diff --git a/tests/json/test_custom_class2.hpp b/tests/json/test_custom_class2.hpp index 7025695f..9989be22 100644 --- a/tests/json/test_custom_class2.hpp +++ b/tests/json/test_custom_class2.hpp @@ -8,35 +8,38 @@ #include "write_and_read.hpp" -void test_custom_class2() { - std::cout << "test_custom_class2" << std::endl; +namespace test_custom_class2 { - struct FiveDigitCode { - using ReflectionType = int; +struct FiveDigitCode { + using ReflectionType = int; - FiveDigitCode(const int _code) : code(_code) { - if (_code < 10000) { - throw std::runtime_error("Less than five digits."); - } - if (_code > 99999) { - throw std::runtime_error("More than five digits."); - } - } - - ReflectionType reflection() const { return code; }; - - private: - int code; - }; - - const auto result = rfl::json::read("123"); - - if (result) { - std::cout << "Failed: Expected an error, but got none." << std::endl; - return; + FiveDigitCode(const int _code) : code(_code) { + if (_code < 10000) { + throw std::runtime_error("Less than five digits."); } + if (_code > 99999) { + throw std::runtime_error("More than five digits."); + } + } - const auto c = FiveDigitCode(12345); + ReflectionType reflection() const { return code; }; - write_and_read(c, "12345"); + private: + int code; +}; + +void test() { + std::cout << "test_custom_class2" << std::endl; + + const auto result = rfl::json::read("123"); + + if (result) { + std::cout << "Failed: Expected an error, but got none." << std::endl; + return; + } + + const auto c = FiveDigitCode(12345); + + write_and_read(c, "12345"); } +} // namespace test_custom_class2 diff --git a/tests/json/test_custom_class3.hpp b/tests/json/test_custom_class3.hpp index 6f3b00d7..89fe6b42 100644 --- a/tests/json/test_custom_class3.hpp +++ b/tests/json/test_custom_class3.hpp @@ -7,57 +7,59 @@ #include "write_and_read.hpp" -namespace tcc3 { +namespace test_custom_class3 { struct Person { - Person(const std::string& _first_name, const std::string& _last_name, - const int _age) - : first_name_(_first_name), last_name_(_last_name), age_(_age) {} + Person(const std::string& _first_name, const std::string& _last_name, + const int _age) + : first_name_(_first_name), last_name_(_last_name), age_(_age) {} - const auto& first_name() const { return first_name_; } + const auto& first_name() const { return first_name_; } - const auto& last_name() const { return last_name_; } + const auto& last_name() const { return last_name_; } - auto age() const { return age_; } + auto age() const { return age_; } - private: - std::string first_name_; - std::string last_name_; - int age_; + private: + std::string first_name_; + std::string last_name_; + int age_; }; struct PersonImpl { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"age", int> age; + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + int age; - static PersonImpl from_class(const Person& _p) noexcept { - return PersonImpl{.first_name = _p.first_name(), - .last_name = _p.last_name(), - .age = _p.age()}; - } + static PersonImpl from_class(const Person& _p) noexcept { + return PersonImpl{.first_name = _p.first_name(), + .last_name = _p.last_name(), + .age = _p.age()}; + } - Person to_class() const { return Person(first_name(), last_name(), age()); } + Person to_class() const { return Person(first_name(), last_name(), age); } }; - -} // namespace tcc3 +} // namespace test_custom_class3 namespace rfl { namespace parsing { template -struct Parser - : public CustomParser {}; +struct Parser + : public CustomParser {}; } // namespace parsing } // namespace rfl -void test_custom_class3() { - std::cout << "test_custom_class3" << std::endl; +namespace test_custom_class3 { - const auto bart = tcc3::Person("Bart", "Simpson", 10); +void test() { + std::cout << "test_custom_class3" << std::endl; - write_and_read(bart, - R"({"firstName":"Bart","lastName":"Simpson","age":10})"); + const auto bart = Person("Bart", "Simpson", 10); + + write_and_read(bart, R"({"firstName":"Bart","lastName":"Simpson","age":10})"); } + +} // namespace test_custom_class3 diff --git a/tests/json/test_custom_class4.hpp b/tests/json/test_custom_class4.hpp index e7004b7d..ac89f574 100644 --- a/tests/json/test_custom_class4.hpp +++ b/tests/json/test_custom_class4.hpp @@ -7,59 +7,60 @@ #include "write_and_read.hpp" -namespace tcc4 { +namespace test_custom_class4 { struct Person { - Person(const std::string& _first_name, - const rfl::Box& _last_name, int _age) - : first_name_(_first_name), - last_name_(rfl::make_box(*_last_name)), - age_(_age) {} + Person(const std::string& _first_name, + const rfl::Box& _last_name, int _age) + : first_name_(_first_name), + last_name_(rfl::make_box(*_last_name)), + age_(_age) {} - const auto& first_name() const { return first_name_; } + const auto& first_name() const { return first_name_; } - const auto& last_name() const { return last_name_; } + const auto& last_name() const { return last_name_; } - auto age() const { return age_; } + auto age() const { return age_; } - private: - std::string first_name_; - rfl::Box last_name_; - int age_; + private: + std::string first_name_; + rfl::Box last_name_; + int age_; }; struct PersonImpl { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", rfl::Box> last_name; - rfl::Field<"age", int> age; + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", rfl::Box> last_name; + rfl::Field<"age", int> age; - static PersonImpl from_class(const Person& _p) noexcept { - return PersonImpl{ - .first_name = _p.first_name(), - .last_name = rfl::make_box(*_p.last_name()), - .age = _p.age()}; - } + static PersonImpl from_class(const Person& _p) noexcept { + return PersonImpl{.first_name = _p.first_name(), + .last_name = rfl::make_box(*_p.last_name()), + .age = _p.age()}; + } }; -} // namespace tcc4 +} // namespace test_custom_class4 namespace rfl { namespace parsing { template -struct Parser - : public CustomParser {}; +struct Parser + : public CustomParser {}; } // namespace parsing } // namespace rfl -void test_custom_class4() { - std::cout << "test_custom_class4" << std::endl; +namespace test_custom_class4 { - const auto bart = - tcc4::Person("Bart", rfl::make_box("Simpson"), 10); +void test() { + std::cout << "test_custom_class4" << std::endl; - write_and_read(bart, - R"({"firstName":"Bart","lastName":"Simpson","age":10})"); + const auto bart = test_custom_class4::Person( + "Bart", rfl::make_box("Simpson"), 10); + + write_and_read(bart, R"({"firstName":"Bart","lastName":"Simpson","age":10})"); } +} // namespace test_custom_class4 diff --git a/tests/json/test_custom_constructor.hpp b/tests/json/test_custom_constructor.hpp index 4ca9c657..028b4ad2 100644 --- a/tests/json/test_custom_constructor.hpp +++ b/tests/json/test_custom_constructor.hpp @@ -6,47 +6,47 @@ #include "write_and_read.hpp" -// Makes sure that the example in the README works as expected. -// It would be embarrassing if it didn't... -void test_custom_constructor() { - std::cout << "test_custom_constructor" << std::endl; +namespace test_custom_constructor { - struct Person { - static rfl::Result from_json_obj( - typename rfl::json::Reader::InputVarType _obj) { - /// This only exists for the purpose of the test. - const auto change_first_name = [](auto&& _person) { - return rfl::replace( - std::move(_person), - rfl::Field<"firstName", std::string>("Bart")); - }; - const auto from_nt = [](auto&& _nt) { - return rfl::from_named_tuple(std::move(_nt)); - }; - return rfl::json::read>(_obj) - .transform(from_nt) - .transform(change_first_name); - } - - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; +struct Person { + static rfl::Result from_json_obj( + typename rfl::json::Reader::InputVarType _obj) { + /// This only exists for the purpose of the test. + const auto change_first_name = [](auto&& _person) { + return rfl::replace(std::move(_person), + rfl::Field<"firstName", std::string>("Bart")); }; + const auto from_nt = [](auto&& _nt) { + return rfl::from_named_tuple(std::move(_nt)); + }; + return rfl::json::read>(_obj) + .transform(from_nt) + .transform(change_first_name); + } - const auto res = rfl::json::read( - R"({"firstName":"Homer","lastName":"Simpson","birthday":"1987-04-19"})"); + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", std::string> last_name; + rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; +}; - if (!res) { - std::cout << "Test failed on read. Error: " - << res.error().value().what() << std::endl; - return; - } +void test() { + std::cout << "test_custom_constructor" << std::endl; - if (res.value().first_name() != "Bart") { - std::cout << "Expected 'Bart', got '" << res.value().first_name() << "'" - << std::endl - << std::endl; - } else { - std::cout << "OK" << std::endl << std::endl; - } + const auto res = rfl::json::read( + R"({"firstName":"Homer","lastName":"Simpson","birthday":"1987-04-19"})"); + + if (!res) { + std::cout << "Test failed on read. Error: " << res.error().value().what() + << std::endl; + return; + } + + if (res.value().first_name() != "Bart") { + std::cout << "Expected 'Bart', got '" << res.value().first_name() << "'" + << std::endl + << std::endl; + } else { + std::cout << "OK" << std::endl << std::endl; + } } +} // namespace test_custom_constructor diff --git a/tests/json/test_default_values.hpp b/tests/json/test_default_values.hpp index 33fd0799..f3fc04a3 100644 --- a/tests/json/test_default_values.hpp +++ b/tests/json/test_default_values.hpp @@ -7,25 +7,26 @@ #include "write_and_read.hpp" -// Makes sure that we can set default values. -void test_default_values() { - std::cout << "test_default_values" << std::endl; +namespace test_default_values { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::vector> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::vector children; +}; - const auto bart = Person{.first_name = "Bart"}; - const auto lisa = Person{.first_name = "Lisa"}; - const auto maggie = Person{.first_name = "Maggie"}; - const auto homer = - Person{.first_name = "Homer", - .children = std::vector({bart, lisa, maggie})}; +void test() { + std::cout << "test_default_values" << std::endl; - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson","children":[]},{"firstName":"Lisa","lastName":"Simpson","children":[]},{"firstName":"Maggie","lastName":"Simpson","children":[]}]})"); + const auto bart = Person{.first_name = "Bart"}; + const auto lisa = Person{.first_name = "Lisa"}; + const auto maggie = Person{.first_name = "Maggie"}; + const auto homer = + Person{.first_name = "Homer", + .children = std::vector({bart, lisa, maggie})}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson","children":[]},{"firstName":"Lisa","lastName":"Simpson","children":[]},{"firstName":"Maggie","lastName":"Simpson","children":[]}]})"); } +} // namespace test_default_values diff --git a/tests/json/test_deque.hpp b/tests/json/test_deque.hpp index 78e8fec5..85e4bfae 100644 --- a/tests/json/test_deque.hpp +++ b/tests/json/test_deque.hpp @@ -6,25 +6,27 @@ #include "write_and_read.hpp" -void test_deque() { - std::cout << "test_deque" << std::endl; +namespace test_deque { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->emplace_back(Person{.first_name = "Bart"}); - children->emplace_back(Person{.first_name = "Lisa"}); - children->emplace_back(Person{.first_name = "Maggie"}); +void test() { + std::cout << "test_deque" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->emplace_back(Person{.first_name = "Bart"}); + children->emplace_back(Person{.first_name = "Lisa"}); + children->emplace_back(Person{.first_name = "Maggie"}); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); } +} // namespace test_deque diff --git a/tests/json/test_email.hpp b/tests/json/test_email.hpp index b99795a1..82ff6bc5 100644 --- a/tests/json/test_email.hpp +++ b/tests/json/test_email.hpp @@ -6,14 +6,16 @@ #include "write_and_read.hpp" -void test_email() { - std::cout << "test_email" << std::endl; +namespace test_email { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"email", rfl::Email> email; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Email email; +}; + +void test() { + std::cout << "test_email" << std::endl; const auto homer = Person{.first_name = "Homer", .last_name = "Simpson", @@ -23,3 +25,4 @@ void test_email() { homer, R"({"firstName":"Homer","lastName":"Simpson","email":"homer@simpson.com"})"); } +} // namespace test_email diff --git a/tests/json/test_error_messages.hpp b/tests/json/test_error_messages.hpp index 139c9dc0..d318476b 100644 --- a/tests/json/test_error_messages.hpp +++ b/tests/json/test_error_messages.hpp @@ -6,37 +6,40 @@ #include "write_and_read.hpp" -void test_error_messages() { - std::cout << "test_error_messages" << std::endl; +namespace test_error_messages { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; - rfl::Field<"children", std::vector> children; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + std::vector children; +}; - const std::string faulty_string = - R"({"firstName":"Homer","lastName":12345,"birthday":"04/19/1987"})"; +void test() { + std::cout << "test_error_messages" << std::endl; - const auto result = rfl::json::read(faulty_string); + const std::string faulty_string = + R"({"firstName":"Homer","lastName":12345,"birthday":"04/19/1987"})"; - const std::string expected = R"(Found 3 errors: + const auto result = rfl::json::read(faulty_string); + + const std::string expected = R"(Found 3 errors: 1) Failed to parse field 'lastName': Could not cast to string. 2) Failed to parse field 'birthday': String '04/19/1987' did not match format '%Y-%m-%d'. 3) Field named 'children' not found.)"; - if (!result.error()) { - std::cout << "Expected an error, got none." << std::endl << std::endl; - } + if (!result.error()) { + std::cout << "Expected an error, got none." << std::endl << std::endl; + } - if (result.error().value().what() != expected) { - std::cout << "Expected: " << std::endl - << expected << std::endl - << "Got:" << std::endl - << result.error().value().what() << std::endl - << std::endl; - } + if (result.error().value().what() != expected) { + std::cout << "Expected: " << std::endl + << expected << std::endl + << "Got:" << std::endl + << result.error().value().what() << std::endl + << std::endl; + } - std::cout << "OK" << std::endl << std::endl; + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_error_messages diff --git a/tests/json/test_field_variant.hpp b/tests/json/test_field_variant.hpp index ec77300e..81ed6450 100644 --- a/tests/json/test_field_variant.hpp +++ b/tests/json/test_field_variant.hpp @@ -7,28 +7,31 @@ #include "write_and_read.hpp" -void test_field_variant() { +namespace test_field_variant { + +struct Circle { + double radius; +}; + +struct Rectangle { + double height; + double width; +}; + +struct Square { + double width; +}; + +using Shapes = rfl::Variant, + rfl::Field<"rectangle", Rectangle>, + rfl::Field<"square", rfl::Box>>; + +void test() { std::cout << "test_field_variant" << std::endl; - struct Circle { - rfl::Field<"radius", double> radius; - }; - - struct Rectangle { - rfl::Field<"height", double> height; - rfl::Field<"width", double> width; - }; - - struct Square { - rfl::Field<"width", double> width; - }; - - using Shapes = rfl::Variant, - rfl::Field<"rectangle", Rectangle>, - rfl::Field<"square", rfl::Box>>; - const Shapes r = rfl::make_field<"rectangle">(Rectangle{.height = 10, .width = 5}); write_and_read(r, R"({"rectangle":{"height":10.0,"width":5.0}})"); } +} // namespace test_field_variant diff --git a/tests/json/test_flatten.hpp b/tests/json/test_flatten.hpp index d1a67703..f7cc7b2f 100644 --- a/tests/json/test_flatten.hpp +++ b/tests/json/test_flatten.hpp @@ -7,29 +7,32 @@ #include "write_and_read.hpp" -void test_flatten() { - std::cout << "test_flatten" << std::endl; +namespace test_flatten { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", rfl::Box> last_name; - rfl::Field<"age", int> age; - }; +struct Person { + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", rfl::Box> last_name; + rfl::Field<"age", int> age; +}; - struct Employee { - rfl::Flatten person; - rfl::Field<"employer", rfl::Box> employer; - rfl::Field<"salary", float> salary; - }; +struct Employee { + rfl::Flatten person; + rfl::Field<"employer", rfl::Box> employer; + rfl::Field<"salary", float> salary; +}; - const auto employee = Employee{ - .person = Person{.first_name = "Homer", - .last_name = rfl::make_box("Simpson"), - .age = 45}, - .employer = rfl::make_box("Mr. Burns"), - .salary = 60000.0}; +void test() { + std::cout << "test_flatten" << std::endl; - write_and_read( - employee, - R"({"firstName":"Homer","lastName":"Simpson","age":45,"employer":"Mr. Burns","salary":60000.0})"); + const auto employee = Employee{ + .person = Person{.first_name = "Homer", + .last_name = rfl::make_box("Simpson"), + .age = 45}, + .employer = rfl::make_box("Mr. Burns"), + .salary = 60000.0}; + + write_and_read( + employee, + R"({"firstName":"Homer","lastName":"Simpson","age":45,"employer":"Mr. Burns","salary":60000.0})"); } +} // namespace test_flatten diff --git a/tests/json/test_flatten_anonymous.hpp b/tests/json/test_flatten_anonymous.hpp index a4e030da..85050ae7 100644 --- a/tests/json/test_flatten_anonymous.hpp +++ b/tests/json/test_flatten_anonymous.hpp @@ -7,21 +7,23 @@ #include "write_and_read.hpp" -void test_flatten_anonymous() { +namespace test_flatten_anonymous { + +struct Person { + std::string first_name; + rfl::Box last_name; + int age; +}; + +struct Employee { + rfl::Flatten person; + rfl::Box employer; + float salary; +}; + +void test() { std::cout << "test_flatten_anonymous" << std::endl; - struct Person { - std::string first_name; - rfl::Box last_name; - int age; - }; - - struct Employee { - rfl::Flatten person; - rfl::Box employer; - float salary; - }; - const auto employee = Employee{ .person = Person{.first_name = "Homer", .last_name = rfl::make_box("Simpson"), @@ -29,5 +31,9 @@ void test_flatten_anonymous() { .employer = rfl::make_box("Mr. Burns"), .salary = 60000.0}; - write_and_read(employee, R"(["Homer","Simpson",45,"Mr. Burns",60000.0])"); + write_and_read( + employee, + R"({"first_name":"Homer","last_name":"Simpson","age":45,"employer":"Mr. Burns","salary":60000.0})"); } + +} // namespace test_flatten_anonymous diff --git a/tests/json/test_forward_list.hpp b/tests/json/test_forward_list.hpp index 8ccfdb21..db94a354 100644 --- a/tests/json/test_forward_list.hpp +++ b/tests/json/test_forward_list.hpp @@ -6,25 +6,27 @@ #include "write_and_read.hpp" -void test_forward_list() { - std::cout << "test_forward_list" << std::endl; +namespace test_forward_list { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->emplace_front(Person{.first_name = "Maggie"}); - children->emplace_front(Person{.first_name = "Lisa"}); - children->emplace_front(Person{.first_name = "Bart"}); +void test() { + std::cout << "test_forward_list" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->emplace_front(Person{.first_name = "Maggie"}); + children->emplace_front(Person{.first_name = "Lisa"}); + children->emplace_front(Person{.first_name = "Bart"}); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); } +} // namespace test_forward_list diff --git a/tests/json/test_list.hpp b/tests/json/test_list.hpp index 06de7e72..71a7618d 100644 --- a/tests/json/test_list.hpp +++ b/tests/json/test_list.hpp @@ -6,25 +6,27 @@ #include "write_and_read.hpp" -void test_list() { - std::cout << "test_list" << std::endl; +namespace test_list { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->emplace_back(Person{.first_name = "Bart"}); - children->emplace_back(Person{.first_name = "Lisa"}); - children->emplace_back(Person{.first_name = "Maggie"}); +void test() { + std::cout << "test_list" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->emplace_back(Person{.first_name = "Bart"}); + children->emplace_back(Person{.first_name = "Lisa"}); + children->emplace_back(Person{.first_name = "Maggie"}); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); } +} // namespace test_list diff --git a/tests/json/test_literal.hpp b/tests/json/test_literal.hpp index 920b281d..a2ca8c03 100644 --- a/tests/json/test_literal.hpp +++ b/tests/json/test_literal.hpp @@ -7,22 +7,23 @@ #include "write_and_read.hpp" -// Makes sure that we can set default values. -void test_literal() { - std::cout << "test_literal" << std::endl; +namespace test_literal { - using FirstName = rfl::Literal<"Homer", "Marge", "Bart", "Lisa", "Maggie">; - using LastName = rfl::Literal<"Simpson">; +using FirstName = rfl::Literal<"Homer", "Marge", "Bart", "Lisa", "Maggie">; +using LastName = rfl::Literal<"Simpson">; - struct Person { - rfl::Field<"firstName", FirstName> first_name; - rfl::Field<"lastName", LastName> last_name = rfl::default_value; - rfl::Field<"children", std::vector> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", FirstName> first_name; + rfl::Rename<"lastName", LastName> last_name; + std::vector children; +}; - const auto bart = Person{.first_name = FirstName::make<"Bart">()}; +void test() { + std::cout << "test_literal" << std::endl; - write_and_read( - bart, R"({"firstName":"Bart","lastName":"Simpson","children":[]})"); + const auto bart = Person{.first_name = FirstName::make<"Bart">()}; + + write_and_read(bart, + R"({"firstName":"Bart","lastName":"Simpson","children":[]})"); } +} // namespace test_literal diff --git a/tests/json/test_literal_map.hpp b/tests/json/test_literal_map.hpp index 4795e4bc..eba3ee3a 100644 --- a/tests/json/test_literal_map.hpp +++ b/tests/json/test_literal_map.hpp @@ -8,10 +8,12 @@ #include "write_and_read.hpp" -void test_literal_map() { - std::cout << "test_literal_map" << std::endl; +namespace test_literal_map { - using FieldName = rfl::Literal<"firstName", "lastName">; +using FieldName = rfl::Literal<"firstName", "lastName">; + +void test() { + std::cout << "test_literal_map" << std::endl; std::map> homer; homer.insert(std::make_pair(FieldName::make<"firstName">(), @@ -21,3 +23,4 @@ void test_literal_map() { write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson"})"); } +} // namespace test_literal_map diff --git a/tests/json/test_literal_unordered_map.hpp b/tests/json/test_literal_unordered_map.hpp index fa7175e7..cb4149a6 100644 --- a/tests/json/test_literal_unordered_map.hpp +++ b/tests/json/test_literal_unordered_map.hpp @@ -9,13 +9,15 @@ #include "write_and_read.hpp" -void test_literal_unordered_map() { +namespace test_literal_unordered_map { + +using FieldName = rfl::Literal<"firstName", "lastName">; + +using Map = std::unordered_map>; + +void test() { std::cout << "test_literal_unordered_map" << std::endl; - using FieldName = rfl::Literal<"firstName", "lastName">; - - using Map = std::unordered_map>; - Map homer; homer.insert(std::make_pair(FieldName::make<"firstName">(), @@ -29,3 +31,4 @@ void test_literal_unordered_map() { const auto homer2 = rfl::json::read(json_string); std::cout << "OK" << std::endl << std::endl; } +} // namespace test_literal_unordered_map diff --git a/tests/json/test_map.hpp b/tests/json/test_map.hpp index 8f0df897..b73309a8 100644 --- a/tests/json/test_map.hpp +++ b/tests/json/test_map.hpp @@ -6,15 +6,16 @@ #include "write_and_read.hpp" -void test_map() { - std::cout << "test_map" << std::endl; +namespace test_map { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; + +void test() { + std::cout << "test_map" << std::endl; auto children = std::make_unique>(); children->insert(std::make_pair(1, Person{.first_name = "Bart"})); @@ -28,3 +29,4 @@ void test_map() { homer, R"({"firstName":"Homer","lastName":"Simpson","children":{"1":{"firstName":"Bart","lastName":"Simpson"},"2":{"firstName":"Lisa","lastName":"Simpson"},"3":{"firstName":"Maggie","lastName":"Simpson"}}})"); } +} // namespace test_map diff --git a/tests/json/test_map_with_key_validation.hpp b/tests/json/test_map_with_key_validation.hpp index 192c2375..813eb892 100644 --- a/tests/json/test_map_with_key_validation.hpp +++ b/tests/json/test_map_with_key_validation.hpp @@ -6,18 +6,19 @@ #include "write_and_read.hpp" -void test_map_with_key_validation() { +namespace test_map_with_key_validation { + +using Between1and3 = rfl::Validator, rfl::Maximum<3>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; + +void test() { std::cout << "test_map_with_key_validation" << std::endl; - using Between1and3 = rfl::Validator, rfl::Maximum<3>>; - - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; - auto children = std::make_unique>(); children->insert(std::make_pair(1, Person{.first_name = "Bart"})); @@ -31,3 +32,4 @@ void test_map_with_key_validation() { homer, R"({"firstName":"Homer","lastName":"Simpson","children":{"1":{"firstName":"Bart","lastName":"Simpson"},"2":{"firstName":"Lisa","lastName":"Simpson"},"3":{"firstName":"Maggie","lastName":"Simpson"}}})"); } +} // namespace test_map_with_key_validation diff --git a/tests/json/test_monster_example.hpp b/tests/json/test_monster_example.hpp index a4bdabdc..1b28378b 100644 --- a/tests/json/test_monster_example.hpp +++ b/tests/json/test_monster_example.hpp @@ -6,37 +6,39 @@ #include "write_and_read.hpp" -void test_monster_example() { +namespace test_monster_example { + +using Color = rfl::Literal<"Red", "Green", "Blue">; + +struct Weapon { + std::string name; + short damage; +}; + +using Equipment = rfl::Variant>; + +struct Vec3 { + float x; + float y; + float z; +}; + +struct Monster { + Vec3 pos; + short mana = 150; + short hp = 100; + std::string name; + bool friendly = false; + std::vector inventory; + Color color = Color::make<"Blue">(); + std::vector weapons; + Equipment equipped; + std::vector path; +}; + +void test() { std::cout << "test_monster_example" << std::endl; - using Color = rfl::Literal<"Red", "Green", "Blue">; - - struct Weapon { - std::string name; - short damage; - }; - - using Equipment = rfl::Variant>; - - struct Vec3 { - float x; - float y; - float z; - }; - - struct Monster { - Vec3 pos; - short mana = 150; - short hp = 100; - std::string name; - bool friendly = false; - std::vector inventory; - Color color = Color::make<"Blue">(); - std::vector weapons; - Equipment equipped; - std::vector path; - }; - const auto sword = Weapon{.name = "Sword", .damage = 3}; const auto axe = Weapon{.name = "Axe", .damage = 5}; @@ -58,6 +60,6 @@ void test_monster_example() { write_and_read( orc, - R"([[1.0,2.0,3.0],150,80,"MyMonster",false,[0,1,2,3,4,5,6,7,8,9],"Red",[["Sword",3],["Axe",5]],{"weapon":["Axe",5]},[]])"); + R"({"pos":{"x":1.0,"y":2.0,"z":3.0},"mana":150,"hp":80,"name":"MyMonster","friendly":false,"inventory":[0,1,2,3,4,5,6,7,8,9],"color":"Red","weapons":[{"name":"Sword","damage":3},{"name":"Axe","damage":5}],"equipped":{"weapon":{"name":"Axe","damage":5}},"path":[]})"); } - +} // namespace test_monster_example diff --git a/tests/json/test_move_replace.hpp b/tests/json/test_move_replace.hpp index f4799a1f..edb7ce1a 100644 --- a/tests/json/test_move_replace.hpp +++ b/tests/json/test_move_replace.hpp @@ -7,22 +7,25 @@ #include "write_and_read.hpp" -void test_move_replace() { - std::cout << "test_move_replace" << std::endl; +namespace test_move_replace { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"children", rfl::Box>> children; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Box> children; +}; - const auto lisa = Person{.first_name = "Lisa", - .last_name = "Simpson", - .children = rfl::make_box>()}; +void test() { + std::cout << "test_move_replace" << std::endl; - const auto maggie = - rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie"))); + const auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .children = rfl::make_box>()}; - write_and_read( - maggie, R"({"firstName":"Maggie","lastName":"Simpson","children":[]})"); + const auto maggie = + rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie"))); + + write_and_read( + maggie, R"({"firstName":"Maggie","lastName":"Simpson","children":[]})"); } +} // namespace test_move_replace diff --git a/tests/json/test_multimap.hpp b/tests/json/test_multimap.hpp index 6746613e..d7ae7a2d 100644 --- a/tests/json/test_multimap.hpp +++ b/tests/json/test_multimap.hpp @@ -6,25 +6,27 @@ #include "write_and_read.hpp" -void test_multimap() { - std::cout << "test_multimap" << std::endl; +namespace test_multimap { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->insert(std::make_pair(1, Person{.first_name = "Bart"})); - children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); - children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); +void test() { + std::cout << "test_multimap" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->insert(std::make_pair(1, Person{.first_name = "Bart"})); + children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); + children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[[1,{"firstName":"Bart","lastName":"Simpson"}],[2,{"firstName":"Lisa","lastName":"Simpson"}],[3,{"firstName":"Maggie","lastName":"Simpson"}]]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[[1,{"firstName":"Bart","lastName":"Simpson"}],[2,{"firstName":"Lisa","lastName":"Simpson"}],[3,{"firstName":"Maggie","lastName":"Simpson"}]]})"); } +} // namespace test_multimap diff --git a/tests/json/test_multiset.hpp b/tests/json/test_multiset.hpp index 21d7062e..c6eaa8bb 100644 --- a/tests/json/test_multiset.hpp +++ b/tests/json/test_multiset.hpp @@ -6,23 +6,25 @@ #include "write_and_read.hpp" -void test_multiset() { - std::cout << "test_multiset" << std::endl; +namespace test_multiset { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>( - std::multiset({"Bart", "Lisa", "Maggie"})); +void test() { + std::cout << "test_multiset" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>( + std::multiset({"Bart", "Lisa", "Maggie"})); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":["Bart","Lisa","Maggie"]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":["Bart","Lisa","Maggie"]})"); } +} // namespace test_multiset diff --git a/tests/json/test_one_of.hpp b/tests/json/test_one_of.hpp index a5d7fa9c..002e8bbb 100644 --- a/tests/json/test_one_of.hpp +++ b/tests/json/test_one_of.hpp @@ -6,23 +6,26 @@ #include "write_and_read.hpp" -void test_one_of() { +namespace test_one_of { + +using Age = + rfl::Validator, rfl::Maximum<10>>, + rfl::AllOf, rfl::Maximum<130>>>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + Age age; +}; + +void test() { std::cout << "test_one_of" << std::endl; - using Age = rfl::Validator< - unsigned int, - rfl::OneOf, rfl::Maximum<10>>, - rfl::AllOf, rfl::Maximum<130>>>>; - - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"age", Age> age; - }; - const auto homer = Person{.first_name = "Homer", .last_name = "Simpson", .age = 45}; write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson","age":45})"); } +} // namespace test_one_of diff --git a/tests/json/test_optional_fields.hpp b/tests/json/test_optional_fields.hpp index 4d27a15d..f97b9a5a 100644 --- a/tests/json/test_optional_fields.hpp +++ b/tests/json/test_optional_fields.hpp @@ -6,27 +6,29 @@ #include "write_and_read.hpp" -void test_optional_fields() { - std::cout << "test_optional_fields" << std::endl; +namespace test_optional_fields { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::optional>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::optional> children; +}; - const auto bart = Person{.first_name = "Bart"}; +void test() { + std::cout << "test_optional_fields" << std::endl; - const auto lisa = Person{.first_name = "Lisa"}; + const auto bart = Person{.first_name = "Bart"}; - const auto maggie = Person{.first_name = "Maggie"}; + const auto lisa = Person{.first_name = "Lisa"}; - const auto homer = - Person{.first_name = "Homer", - .children = std::vector({bart, lisa, maggie})}; + const auto maggie = Person{.first_name = "Maggie"}; - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); + const auto homer = + Person{.first_name = "Homer", + .children = std::vector({bart, lisa, maggie})}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); } +} // namespace test_optional_fields diff --git a/tests/json/test_readme_example.hpp b/tests/json/test_readme_example.hpp index 72228800..48df1ae3 100644 --- a/tests/json/test_readme_example.hpp +++ b/tests/json/test_readme_example.hpp @@ -8,26 +8,29 @@ // Makes sure that the example in the README works as expected. // It would be embarrassing if it didn't... -void test_readme_example() { + +namespace test_readme_example { + +// Age must be a plausible number, between 0 and 130. This will +// be validated automatically. +using Age = rfl::Validator, rfl::Maximum<130>>; + +// "firstName", "lastName" and "children" are the field names +// as they will appear in the JSON. The C++ standard is +// snake case, the JSON standard is camel case, so the names +// will not always be identical. +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + Age age; + rfl::Email email; + std::vector children; +}; + +void test() { std::cout << "test_readme_example" << std::endl; - // Age must be a plausible number, between 0 and 130. This will - // be validated automatically. - using Age = rfl::Validator, rfl::Maximum<130>>; - - // "firstName", "lastName" and "children" are the field names - // as they will appear in the JSON. The C++ standard is - // snake case, the JSON standard is camel case, so the names - // will not always be identical. - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; - rfl::Field<"age", Age> age; - rfl::Field<"email", rfl::Email> email; - rfl::Field<"children", std::vector> children; - }; - const auto bart = Person{.first_name = "Bart", .last_name = "Simpson", .birthday = "1987-04-19", @@ -35,21 +38,17 @@ void test_readme_example() { .email = "bart@simpson.com", .children = std::vector()}; - const auto lisa = Person{ - .first_name = "Lisa", - .last_name = "Simpson", - .birthday = "1987-04-19", - .age = 8, - .email = "lisa@simpson.com", - .children = rfl::default_value // same as std::vector() - }; + const auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 8, + .email = "lisa@simpson.com"}; - // Returns a deep copy of the original object, - // replacing first_name. - const auto maggie = - rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie")), - rfl::make_field<"email">(std::string("maggie@simpson.com")), - rfl::make_field<"age">(0)); + const auto maggie = Person{.first_name = "Maggie", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 0, + .email = "maggie@simpson.com"}; const auto homer = Person{.first_name = "Homer", @@ -63,3 +62,4 @@ void test_readme_example() { homer, R"({"firstName":"Homer","lastName":"Simpson","birthday":"1987-04-19","age":45,"email":"homer@simpson.com","children":[{"firstName":"Bart","lastName":"Simpson","birthday":"1987-04-19","age":10,"email":"bart@simpson.com","children":[]},{"firstName":"Lisa","lastName":"Simpson","birthday":"1987-04-19","age":8,"email":"lisa@simpson.com","children":[]},{"firstName":"Maggie","lastName":"Simpson","birthday":"1987-04-19","age":0,"email":"maggie@simpson.com","children":[]}]})"); } +} // namespace test_readme_example diff --git a/tests/json/test_ref.hpp b/tests/json/test_ref.hpp index b7fe3e90..8d24820c 100644 --- a/tests/json/test_ref.hpp +++ b/tests/json/test_ref.hpp @@ -7,39 +7,42 @@ #include "write_and_read.hpp" -void test_ref() { - std::cout << "test_ref" << std::endl; +namespace test_ref { - struct DecisionTree { - struct Leaf { - rfl::Field<"type", rfl::Literal<"Leaf">> type = rfl::default_value; - rfl::Field<"value", double> value; - }; +struct DecisionTree { + struct Leaf { + using Tag = rfl::Literal<"Leaf">; + rfl::Field<"value", double> value; + }; - struct Node { - rfl::Field<"type", rfl::Literal<"Node">> type = rfl::default_value; - rfl::Field<"criticalValue", double> critical_value; - rfl::Field<"left", rfl::Ref> lesser; - rfl::Field<"right", rfl::Ref> greater; - }; + struct Node { + using Tag = rfl::Literal<"Node">; + rfl::Field<"criticalValue", double> critical_value; + rfl::Field<"left", rfl::Ref> lesser; + rfl::Field<"right", rfl::Ref> greater; + }; - using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; + using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; - rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; - }; + rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; +}; - const auto leaf1 = DecisionTree::Leaf{.value = 3.0}; +void test() { + std::cout << "test_ref" << std::endl; - const auto leaf2 = DecisionTree::Leaf{.value = 5.0}; + const auto leaf1 = DecisionTree::Leaf{.value = 3.0}; - auto node = DecisionTree::Node{ - .critical_value = 10.0, - .lesser = rfl::make_ref(DecisionTree{leaf1}), - .greater = rfl::make_ref(DecisionTree{leaf2})}; + const auto leaf2 = DecisionTree::Leaf{.value = 5.0}; - const DecisionTree tree{.leaf_or_node = std::move(node)}; + auto node = DecisionTree::Node{ + .critical_value = 10.0, + .lesser = rfl::make_ref(DecisionTree{leaf1}), + .greater = rfl::make_ref(DecisionTree{leaf2})}; - write_and_read( - tree, - R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); + const DecisionTree tree{.leaf_or_node = std::move(node)}; + + write_and_read( + tree, + R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); } +} // namespace test_ref diff --git a/tests/json/test_rename.hpp b/tests/json/test_rename.hpp new file mode 100644 index 00000000..b1cd38a3 --- /dev/null +++ b/tests/json/test_rename.hpp @@ -0,0 +1,56 @@ +#include +#include +#include +#include +#include + +#include "write_and_read.hpp" + +namespace test_rename { + +using Age = rfl::Validator, rfl::Maximum<130>>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + Age age; + rfl::Email email; + std::vector children; +}; + +void test() { + std::cout << "test_anonymous_fields" << std::endl; + + const auto bart = Person{.first_name = "Bart", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 10, + .email = "bart@simpson.com"}; + + const auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 8, + .email = "lisa@simpson.com"}; + + const auto maggie = Person{.first_name = "Maggie", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 0, + .email = "maggie@simpson.com"}; + + const auto homer = + Person{.first_name = "Homer", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 45, + .email = "homer@simpson.com", + .children = std::vector({bart, lisa, maggie})}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","birthday":"1987-04-19","age":45,"email":"homer@simpson.com","children":[{"firstName":"Bart","lastName":"Simpson","birthday":"1987-04-19","age":10,"email":"bart@simpson.com","children":[]},{"firstName":"Lisa","lastName":"Simpson","birthday":"1987-04-19","age":8,"email":"lisa@simpson.com","children":[]},{"firstName":"Maggie","lastName":"Simpson","birthday":"1987-04-19","age":0,"email":"maggie@simpson.com","children":[]}]})"); +} +} // namespace test_rename diff --git a/tests/json/test_replace.hpp b/tests/json/test_replace.hpp index 6d7229a0..e2d328f7 100644 --- a/tests/json/test_replace.hpp +++ b/tests/json/test_replace.hpp @@ -7,22 +7,25 @@ #include "write_and_read.hpp" -void test_replace() { - std::cout << "test_replace" << std::endl; +namespace test_replace { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"children", rfl::Box>> children; - }; +struct Person { + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", std::string> last_name; + rfl::Field<"children", rfl::Box>> children; +}; - auto lisa = Person{.first_name = "Lisa", - .last_name = "Simpson", - .children = rfl::make_box>()}; +void test() { + std::cout << "test_replace" << std::endl; - const auto maggie = rfl::replace( - std::move(lisa), rfl::make_field<"firstName">(std::string("Maggie"))); + auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .children = rfl::make_box>()}; - write_and_read( - maggie, R"({"firstName":"Maggie","lastName":"Simpson","children":[]})"); + const auto maggie = rfl::replace( + std::move(lisa), rfl::make_field<"firstName">(std::string("Maggie"))); + + write_and_read( + maggie, R"({"firstName":"Maggie","lastName":"Simpson","children":[]})"); } +} // namespace test_replace diff --git a/tests/json/test_replace_flatten.hpp b/tests/json/test_replace_flatten.hpp index eedd15f9..c2f67d1e 100644 --- a/tests/json/test_replace_flatten.hpp +++ b/tests/json/test_replace_flatten.hpp @@ -7,33 +7,36 @@ #include "write_and_read.hpp" -void test_replace_flatten() { - std::cout << "test_replace_flatten" << std::endl; +namespace test_replace_flatten { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", rfl::Box> last_name; - rfl::Field<"age", int> age; - }; +struct Person { + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", rfl::Box> last_name; + rfl::Field<"age", int> age; +}; - struct Employee { - rfl::Flatten person; - rfl::Field<"employer", rfl::Box> employer; - rfl::Field<"salary", float> salary; - }; +struct Employee { + rfl::Flatten person; + rfl::Field<"employer", rfl::Box> employer; + rfl::Field<"salary", float> salary; +}; - auto employee = Employee{ - .person = Person{.first_name = "Homer", - .last_name = rfl::make_box("Simpson"), - .age = 45}, - .employer = rfl::make_box("Mr. Burns"), - .salary = 60000.0}; +void test() { + std::cout << "test_replace_flatten" << std::endl; - auto employee2 = - rfl::replace(std::move(employee), rfl::make_field<"salary">(70000.0), - rfl::make_field<"age">(46)); + auto employee = Employee{ + .person = Person{.first_name = "Homer", + .last_name = rfl::make_box("Simpson"), + .age = 45}, + .employer = rfl::make_box("Mr. Burns"), + .salary = 60000.0}; - write_and_read( - employee2, - R"({"firstName":"Homer","lastName":"Simpson","age":46,"employer":"Mr. Burns","salary":70000.0})"); + auto employee2 = + rfl::replace(std::move(employee), rfl::make_field<"salary">(70000.0), + rfl::make_field<"age">(46)); + + write_and_read( + employee2, + R"({"firstName":"Homer","lastName":"Simpson","age":46,"employer":"Mr. Burns","salary":70000.0})"); } +} // namespace test_replace_flatten diff --git a/tests/json/test_replace_with_other_struct.hpp b/tests/json/test_replace_with_other_struct.hpp index 415b388a..cffccb7c 100644 --- a/tests/json/test_replace_with_other_struct.hpp +++ b/tests/json/test_replace_with_other_struct.hpp @@ -7,32 +7,35 @@ #include "write_and_read.hpp" -void test_replace_with_other_struct() { - std::cout << "test_replace_with_other_struct" << std::endl; +namespace test_replace_with_other_struct { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"age", int> age; - }; +struct Person { + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", std::string> last_name; + rfl::Field<"age", int> age; +}; - struct Employee { - rfl::Flatten person; - rfl::Field<"employer", std::string> employer; - rfl::Field<"salary", float> salary; - }; +struct Employee { + rfl::Flatten person; + rfl::Field<"employer", std::string> employer; + rfl::Field<"salary", float> salary; +}; - const auto employee = Employee{ - .person = - Person{.first_name = "Homer", .last_name = "Simpson", .age = 45}, - .employer = std::string("Mr. Burns"), - .salary = 60000.0}; +void test() { + std::cout << "test_replace_with_other_struct" << std::endl; - const auto carl = Person{.first_name = "Carl", .last_name = "", .age = 45}; + const auto employee = Employee{ + .person = + Person{.first_name = "Homer", .last_name = "Simpson", .age = 45}, + .employer = std::string("Mr. Burns"), + .salary = 60000.0}; - const auto employee2 = rfl::replace(employee, carl); + const auto carl = Person{.first_name = "Carl", .last_name = "", .age = 45}; - write_and_read( - employee2, - R"({"firstName":"Carl","lastName":"","age":45,"employer":"Mr. Burns","salary":60000.0})"); + const auto employee2 = rfl::replace(employee, carl); + + write_and_read( + employee2, + R"({"firstName":"Carl","lastName":"","age":45,"employer":"Mr. Burns","salary":60000.0})"); } +} // namespace test_replace_with_other_struct diff --git a/tests/json/test_result.hpp b/tests/json/test_result.hpp index 6aaf6db2..59471b09 100644 --- a/tests/json/test_result.hpp +++ b/tests/json/test_result.hpp @@ -6,15 +6,16 @@ #include "write_and_read.hpp" -void test_result() { - std::cout << "test_result" << std::endl; +namespace test_result { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::vector>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::vector> children; +}; + +void test() { + std::cout << "test_result" << std::endl; const rfl::Result bart = Person{.first_name = "Bart"}; @@ -30,3 +31,4 @@ void test_result() { homer, R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson","children":[]},{"firstName":"Lisa","lastName":"Simpson","children":[]},{"error":"Some error occurred."}]})"); } +} // namespace test_result diff --git a/tests/json/test_save_load.hpp b/tests/json/test_save_load.hpp index f47dca18..1998698c 100644 --- a/tests/json/test_save_load.hpp +++ b/tests/json/test_save_load.hpp @@ -5,21 +5,23 @@ #include #include -void test_save_load() { +namespace test_save_load { + +using Age = rfl::Validator, rfl::Maximum<130>>>; + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + Age age; + rfl::Email email; + std::vector children; +}; + +void test() { std::cout << "test_save_load" << std::endl; - using Age = rfl::Validator, rfl::Maximum<130>>>; - - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; - rfl::Field<"age", Age> age; - rfl::Field<"email", rfl::Email> email; - rfl::Field<"children", std::vector> children; - }; - const auto bart = Person{.first_name = "Bart", .last_name = "Simpson", .birthday = "1987-04-19", @@ -27,19 +29,17 @@ void test_save_load() { .email = "bart@simpson.com", .children = std::vector()}; - const auto lisa = Person{ - .first_name = "Lisa", - .last_name = "Simpson", - .birthday = "1987-04-19", - .age = 8, - .email = "lisa@simpson.com", - .children = rfl::default_value // same as std::vector() - }; + const auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 8, + .email = "lisa@simpson.com"}; - const auto maggie = - rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie")), - rfl::make_field<"email">(std::string("maggie@simpson.com")), - rfl::make_field<"age">(0)); + const auto maggie = Person{.first_name = "Maggie", + .last_name = "Simpson", + .birthday = "1987-04-19", + .age = 0, + .email = "maggie@simpson.com"}; const auto homer1 = Person{.first_name = "Homer", @@ -64,3 +64,4 @@ void test_save_load() { std::cout << "OK" << std::endl << std::endl; } +} // namespace test_save_load diff --git a/tests/json/test_set.hpp b/tests/json/test_set.hpp index 97e3834b..2e98d91d 100644 --- a/tests/json/test_set.hpp +++ b/tests/json/test_set.hpp @@ -6,23 +6,25 @@ #include "write_and_read.hpp" -void test_set() { - std::cout << "test_set" << std::endl; +namespace test_set { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>( - std::set({"Bart", "Lisa", "Maggie"})); +void test() { + std::cout << "test_set" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>( + std::set({"Bart", "Lisa", "Maggie"})); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":["Bart","Lisa","Maggie"]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":["Bart","Lisa","Maggie"]})"); } +} // namespace test_set diff --git a/tests/json/test_size.hpp b/tests/json/test_size.hpp index 74ef81de..ebc4729a 100644 --- a/tests/json/test_size.hpp +++ b/tests/json/test_size.hpp @@ -6,38 +6,28 @@ #include "write_and_read.hpp" -// Makes sure that the example in the README works as expected. -// It would be embarrassing if it didn't... -void test_size() { +namespace test_size { + +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name; + rfl::Timestamp<"%Y-%m-%d"> birthday; + rfl::Validator, + rfl::Size, rfl::EqualTo<3>>>> + children; +}; + +void test() { std::cout << "test_size" << std::endl; - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name; - rfl::Field<"birthday", rfl::Timestamp<"%Y-%m-%d">> birthday; - rfl::Field< - "children", - rfl::Validator, - rfl::Size, rfl::EqualTo<3>>>>> - children; - }; - - const auto bart = Person{.first_name = "Bart", - .last_name = "Simpson", - .birthday = "1987-04-19", - .children = std::vector()}; + const auto bart = Person{ + .first_name = "Bart", .last_name = "Simpson", .birthday = "1987-04-19"}; const auto lisa = Person{ - .first_name = "Lisa", - .last_name = "Simpson", - .birthday = "1987-04-19", - .children = rfl::default_value // same as std::vector() - }; + .first_name = "Lisa", .last_name = "Simpson", .birthday = "1987-04-19"}; - // Returns a deep copy of the original object, - // replacing first_name. - const auto maggie = - rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie"))); + const auto maggie = Person{ + .first_name = "Maggie", .last_name = "Simpson", .birthday = "1987-04-19"}; const auto homer = Person{.first_name = "Homer", @@ -49,3 +39,4 @@ void test_size() { homer, R"({"firstName":"Homer","lastName":"Simpson","birthday":"1987-04-19","children":[{"firstName":"Bart","lastName":"Simpson","birthday":"1987-04-19","children":[]},{"firstName":"Lisa","lastName":"Simpson","birthday":"1987-04-19","children":[]},{"firstName":"Maggie","lastName":"Simpson","birthday":"1987-04-19","children":[]}]})"); } +} // namespace test_size diff --git a/tests/json/test_string_map.hpp b/tests/json/test_string_map.hpp index b06cabf8..5920cb0a 100644 --- a/tests/json/test_string_map.hpp +++ b/tests/json/test_string_map.hpp @@ -7,14 +7,16 @@ #include "write_and_read.hpp" -void test_string_map() { - std::cout << "test_string_map" << std::endl; +namespace test_string_map { +void test() { + std::cout << "test_string_map" << std::endl; - std::map> homer; - homer.insert( - std::make_pair("firstName", std::make_unique("Homer"))); - homer.insert( - std::make_pair("lastName", std::make_unique("Simpson"))); + std::map> homer; + homer.insert( + std::make_pair("firstName", std::make_unique("Homer"))); + homer.insert( + std::make_pair("lastName", std::make_unique("Simpson"))); - write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson"})"); + write_and_read(homer, R"({"firstName":"Homer","lastName":"Simpson"})"); } +} // namespace test_string_map diff --git a/tests/json/test_string_unordered_map.hpp b/tests/json/test_string_unordered_map.hpp index 54238ec2..35f86960 100644 --- a/tests/json/test_string_unordered_map.hpp +++ b/tests/json/test_string_unordered_map.hpp @@ -7,19 +7,21 @@ #include "write_and_read.hpp" -void test_string_unordered_map() { - std::cout << "test_string_unordered_map" << std::endl; +namespace test_string_unordered_map { +void test() { + std::cout << "test_string_unordered_map" << std::endl; - using Map = std::unordered_map>; - Map homer; - homer.insert( - std::make_pair("firstName", std::make_unique("Homer"))); - homer.insert( - std::make_pair("lastName", std::make_unique("Simpson"))); + using Map = std::unordered_map>; + Map homer; + homer.insert( + std::make_pair("firstName", std::make_unique("Homer"))); + homer.insert( + std::make_pair("lastName", std::make_unique("Simpson"))); - // Unordered maps are unpredictable. We therefore only make sure that this - // compiles. - const auto json_string = rfl::json::write(homer); - const auto homer2 = rfl::json::read(json_string); - std::cout << "OK" << std::endl << std::endl; + // Unordered maps are unpredictable. We therefore only make sure that this + // compiles. + const auto json_string = rfl::json::write(homer); + const auto homer2 = rfl::json::read(json_string); + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_string_unordered_map diff --git a/tests/json/test_tagged_union.hpp b/tests/json/test_tagged_union.hpp index aa59f398..17875e2b 100644 --- a/tests/json/test_tagged_union.hpp +++ b/tests/json/test_tagged_union.hpp @@ -7,30 +7,31 @@ #include "write_and_read.hpp" -// Makes sure that we can set default values. -void test_tagged_union() { - std::cout << "test_tagged_union" << std::endl; +namespace test_tagged_union { - struct Circle { - rfl::Field<"shape", rfl::Literal<"Circle">> shape = rfl::default_value; - rfl::Field<"radius", double> radius; - }; +struct Circle { + using Tag = rfl::Literal<"Circle">; + rfl::Field<"radius", double> radius; +}; - struct Rectangle { - rfl::Field<"shape", rfl::Literal<"Rectangle">> shape = - rfl::default_value; - rfl::Field<"height", double> height; - rfl::Field<"width", double> width; - }; +struct Rectangle { + using Tag = rfl::Literal<"Rectangle">; + rfl::Field<"height", double> height; + rfl::Field<"width", double> width; +}; - struct Square { - rfl::Field<"shape", rfl::Literal<"Square">> shape = rfl::default_value; - rfl::Field<"width", double> width; - }; +struct Square { + using Tag = rfl::Literal<"Square">; + rfl::Field<"width", double> width; +}; - using Shapes = rfl::TaggedUnion<"shape", Circle, Square, Rectangle>; +using Shapes = rfl::TaggedUnion<"shape", Circle, Square, Rectangle>; - const Shapes r = Rectangle{.height = 10, .width = 5}; +void test() { + std::cout << "test_tagged_union" << std::endl; - write_and_read(r, R"({"shape":"Rectangle","height":10.0,"width":5.0})"); + const Shapes r = Rectangle{.height = 10, .width = 5}; + + write_and_read(r, R"({"shape":"Rectangle","height":10.0,"width":5.0})"); } +} // namespace test_tagged_union diff --git a/tests/json/test_timestamp.hpp b/tests/json/test_timestamp.hpp index 67b0866b..f8cde9aa 100644 --- a/tests/json/test_timestamp.hpp +++ b/tests/json/test_timestamp.hpp @@ -7,27 +7,30 @@ #include "write_and_read.hpp" -void test_timestamp() { - std::cout << "test_timestamp" << std::endl; +namespace test_timestamp { - using TS = rfl::Timestamp<"%Y-%m-%d">; +using TS = rfl::Timestamp<"%Y-%m-%d">; - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"birthday", TS> birthday; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + TS birthday; +}; - const auto result = TS::from_string("nonsense"); +void test() { + std::cout << "test_timestamp" << std::endl; - if (result) { - std::cout << "Failed: Expected an error, but got none." << std::endl; - return; - } + const auto result = TS::from_string("nonsense"); - const auto bart = Person{.first_name = "Bart", .birthday = "1987-04-19"}; + if (result) { + std::cout << "Failed: Expected an error, but got none." << std::endl; + return; + } - write_and_read( - bart, - R"({"firstName":"Bart","lastName":"Simpson","birthday":"1987-04-19"})"); + const auto bart = Person{.first_name = "Bart", .birthday = "1987-04-19"}; + + write_and_read( + bart, + R"({"firstName":"Bart","lastName":"Simpson","birthday":"1987-04-19"})"); } +} // namespace test_timestamp diff --git a/tests/json/test_unique_ptr.hpp b/tests/json/test_unique_ptr.hpp index 54a38543..fb24cfcd 100644 --- a/tests/json/test_unique_ptr.hpp +++ b/tests/json/test_unique_ptr.hpp @@ -7,25 +7,27 @@ #include "write_and_read.hpp" -void test_unique_ptr() { - std::cout << "test_unique_ptr" << std::endl; +namespace test_unique_ptr { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> children = - rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->emplace_back(Person{.first_name = "Bart"}); - children->emplace_back(Person{.first_name = "Lisa"}); - children->emplace_back(Person{.first_name = "Maggie"}); +void test() { + std::cout << "test_unique_ptr" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->emplace_back(Person{.first_name = "Bart"}); + children->emplace_back(Person{.first_name = "Lisa"}); + children->emplace_back(Person{.first_name = "Maggie"}); - write_and_read( - homer, - R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + write_and_read( + homer, + R"({"firstName":"Homer","lastName":"Simpson","children":[{"firstName":"Bart","lastName":"Simpson"},{"firstName":"Lisa","lastName":"Simpson"},{"firstName":"Maggie","lastName":"Simpson"}]})"); } +} // namespace test_unique_ptr diff --git a/tests/json/test_unique_ptr2.hpp b/tests/json/test_unique_ptr2.hpp index 4fab614c..7beadf4c 100644 --- a/tests/json/test_unique_ptr2.hpp +++ b/tests/json/test_unique_ptr2.hpp @@ -7,39 +7,42 @@ #include "write_and_read.hpp" -void test_unique_ptr2() { - std::cout << "test_unique_ptr2" << std::endl; +namespace test_unique_ptr2 { - struct DecisionTree { - struct Leaf { - rfl::Field<"type", rfl::Literal<"Leaf">> type = rfl::default_value; - rfl::Field<"value", double> value; - }; +struct DecisionTree { + struct Leaf { + using Tag = rfl::Literal<"Leaf">; + rfl::Field<"value", double> value; + }; - struct Node { - rfl::Field<"type", rfl::Literal<"Node">> type = rfl::default_value; - rfl::Field<"criticalValue", double> critical_value; - rfl::Field<"left", std::unique_ptr> lesser; - rfl::Field<"right", std::unique_ptr> greater; - }; + struct Node { + using Tag = rfl::Literal<"Node">; + rfl::Field<"criticalValue", double> critical_value; + rfl::Field<"left", std::unique_ptr> lesser; + rfl::Field<"right", std::unique_ptr> greater; + }; - using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; + using LeafOrNode = rfl::TaggedUnion<"type", Leaf, Node>; - rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; - }; + rfl::Field<"leafOrNode", LeafOrNode> leaf_or_node; +}; - auto leaf1 = DecisionTree::Leaf{.value = 3.0}; +void test() { + std::cout << "test_unique_ptr2" << std::endl; - auto leaf2 = DecisionTree::Leaf{.value = 5.0}; + auto leaf1 = DecisionTree::Leaf{.value = 3.0}; - auto node = DecisionTree::Node{ - .critical_value = 10.0, - .lesser = std::make_unique(DecisionTree{leaf1}), - .greater = std::make_unique(DecisionTree{leaf2})}; + auto leaf2 = DecisionTree::Leaf{.value = 5.0}; - const DecisionTree tree{.leaf_or_node = std::move(node)}; + auto node = DecisionTree::Node{ + .critical_value = 10.0, + .lesser = std::make_unique(DecisionTree{leaf1}), + .greater = std::make_unique(DecisionTree{leaf2})}; - write_and_read( - tree, - R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); + const DecisionTree tree{.leaf_or_node = std::move(node)}; + + write_and_read( + tree, + R"({"leafOrNode":{"type":"Node","criticalValue":10.0,"left":{"leafOrNode":{"type":"Leaf","value":3.0}},"right":{"leafOrNode":{"type":"Leaf","value":5.0}}}})"); } +} // namespace test_unique_ptr2 diff --git a/tests/json/test_unordered_map.hpp b/tests/json/test_unordered_map.hpp index b91940b1..980a9917 100644 --- a/tests/json/test_unordered_map.hpp +++ b/tests/json/test_unordered_map.hpp @@ -6,27 +6,29 @@ #include "write_and_read.hpp" -void test_unordered_map() { - std::cout << "test_unordered_map" << std::endl; +namespace test_unordered_map { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->insert(std::make_pair(1, Person{.first_name = "Bart"})); - children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); - children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); +void test() { + std::cout << "test_unordered_map" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->insert(std::make_pair(1, Person{.first_name = "Bart"})); + children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); + children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); - // Unordered maps are unpredictable. We therefore only make sure that this - // compiles. - const auto json_string = rfl::json::write(homer); - const auto homer2 = rfl::json::read(json_string); - std::cout << "OK" << std::endl << std::endl; + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + // Unordered maps are unpredictable. We therefore only make sure that this + // compiles. + const auto json_string = rfl::json::write(homer); + const auto homer2 = rfl::json::read(json_string); + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_unordered_map diff --git a/tests/json/test_unordered_multimap.hpp b/tests/json/test_unordered_multimap.hpp index 757118df..3e82d255 100644 --- a/tests/json/test_unordered_multimap.hpp +++ b/tests/json/test_unordered_multimap.hpp @@ -6,28 +6,29 @@ #include "write_and_read.hpp" -void test_unordered_multimap() { - std::cout << "test_unordered_multimap" << std::endl; +namespace test_unordered_multimap { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", - std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>(); - children->insert(std::make_pair(1, Person{.first_name = "Bart"})); - children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); - children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); +void test() { + std::cout << "test_unordered_multimap" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>(); + children->insert(std::make_pair(1, Person{.first_name = "Bart"})); + children->insert(std::make_pair(2, Person{.first_name = "Lisa"})); + children->insert(std::make_pair(3, Person{.first_name = "Maggie"})); - // Unordered maps are unpredictable. We therefore only make sure that this - // compiles. - const auto json_string = rfl::json::write(homer); - const auto homer2 = rfl::json::read(json_string); - std::cout << "OK" << std::endl << std::endl; + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + // Unordered maps are unpredictable. We therefore only make sure that this + // compiles. + const auto json_string = rfl::json::write(homer); + const auto homer2 = rfl::json::read(json_string); + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_unordered_multimap diff --git a/tests/json/test_unordered_multiset.hpp b/tests/json/test_unordered_multiset.hpp index 11591da4..15a5d7d1 100644 --- a/tests/json/test_unordered_multiset.hpp +++ b/tests/json/test_unordered_multiset.hpp @@ -6,26 +6,27 @@ #include "write_and_read.hpp" -void test_unordered_multiset() { - std::cout << "test_unordered_multiset" << std::endl; +namespace test_unordered_multiset { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", - std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>( - std::unordered_multiset({"Bart", "Lisa", "Maggie"})); +void test() { + std::cout << "test_unordered_multiset" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>( + std::unordered_multiset({"Bart", "Lisa", "Maggie"})); - // Unordered multisets are unpredictable. We therefore only make sure that - // this compiles. - const auto json_string = rfl::json::write(homer); - const auto homer2 = rfl::json::read(json_string); - std::cout << "OK" << std::endl << std::endl; + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + // Unordered multisets are unpredictable. We therefore only make sure that + // this compiles. + const auto json_string = rfl::json::write(homer); + const auto homer2 = rfl::json::read(json_string); + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_unordered_multiset diff --git a/tests/json/test_unordered_set.hpp b/tests/json/test_unordered_set.hpp index f4602a64..c4ced669 100644 --- a/tests/json/test_unordered_set.hpp +++ b/tests/json/test_unordered_set.hpp @@ -6,25 +6,27 @@ #include "write_and_read.hpp" -void test_unordered_set() { - std::cout << "test_unordered_set" << std::endl; +namespace test_unordered_set { - struct Person { - rfl::Field<"firstName", std::string> first_name; - rfl::Field<"lastName", std::string> last_name = "Simpson"; - rfl::Field<"children", std::unique_ptr>> - children = rfl::default_value; - }; +struct Person { + rfl::Rename<"firstName", std::string> first_name; + rfl::Rename<"lastName", std::string> last_name = "Simpson"; + std::unique_ptr> children; +}; - auto children = std::make_unique>( - std::unordered_set({"Bart", "Lisa", "Maggie"})); +void test() { + std::cout << "test_unordered_set" << std::endl; - const auto homer = - Person{.first_name = "Homer", .children = std::move(children)}; + auto children = std::make_unique>( + std::unordered_set({"Bart", "Lisa", "Maggie"})); - // Unordered sets are unpredictable. We therefore only make sure that this - // compiles. - const auto json_string = rfl::json::write(homer); - const auto homer2 = rfl::json::read(json_string); - std::cout << "OK" << std::endl << std::endl; + const auto homer = + Person{.first_name = "Homer", .children = std::move(children)}; + + // Unordered sets are unpredictable. We therefore only make sure that this + // compiles. + const auto json_string = rfl::json::write(homer); + const auto homer2 = rfl::json::read(json_string); + std::cout << "OK" << std::endl << std::endl; } +} // namespace test_unordered_set diff --git a/tests/json/test_variant.hpp b/tests/json/test_variant.hpp index 0eeab501..520489b8 100644 --- a/tests/json/test_variant.hpp +++ b/tests/json/test_variant.hpp @@ -7,26 +7,28 @@ #include "write_and_read.hpp" -// Makes sure that we can set default values. -void test_variant() { - std::cout << "test_variant" << std::endl; +namespace test_variant { - struct Circle { - rfl::Field<"radius", double> radius; - }; +struct Circle { + double radius; +}; - struct Rectangle { - rfl::Field<"height", double> height; - rfl::Field<"width", double> width; - }; +struct Rectangle { + double height; + double width; +}; - struct Square { - rfl::Field<"width", double> width; - }; +struct Square { + double width; +}; - using Shapes = std::variant>; +using Shapes = std::variant>; - const Shapes r = Rectangle{.height = 10, .width = 5}; +void test() { + std::cout << "test_variant" << std::endl; - write_and_read(r, R"({"height":10.0,"width":5.0})"); + const Shapes r = Rectangle{.height = 10, .width = 5}; + + write_and_read(r, R"({"height":10.0,"width":5.0})"); } +} // namespace test_variant diff --git a/tests/json/tests.cpp b/tests/json/tests.cpp index 081360dc..f28403c3 100644 --- a/tests/json/tests.cpp +++ b/tests/json/tests.cpp @@ -19,7 +19,6 @@ #include "test_field_variant.hpp" #include "test_flatten.hpp" #include "test_flatten_anonymous.hpp" -#include "test_flatten_tuple.hpp" #include "test_forward_list.hpp" #include "test_list.hpp" #include "test_literal.hpp" @@ -34,6 +33,7 @@ #include "test_optional_fields.hpp" #include "test_readme_example.hpp" #include "test_ref.hpp" +#include "test_rename.hpp" #include "test_replace.hpp" #include "test_replace_flatten.hpp" #include "test_replace_with_other_struct.hpp" @@ -54,65 +54,65 @@ #include "test_variant.hpp" int main() { - test_readme_example(); - test_default_values(); - test_optional_fields(); - test_unique_ptr(); - test_unique_ptr2(); - test_literal(); - test_variant(); - test_tagged_union(); - test_field_variant(); - test_ref(); - test_box(); - test_array(); - test_timestamp(); - test_flatten(); - test_flatten_anonymous(); - test_flatten_tuple(); - test_deque(); - test_forward_list(); - test_list(); - test_map(); - test_map_with_key_validation(); - test_unordered_map(); - test_set(); - test_unordered_set(); - test_multimap(); - test_unordered_multimap(); - test_multiset(); - test_unordered_multiset(); - test_string_map(); - test_string_unordered_map(); - test_alphanumeric_map(); - test_alphanumeric_unordered_map(); - test_literal_map(); - test_literal_unordered_map(); - test_error_messages(); - test_result(); - test_anonymous_fields(); - test_monster_example(); + test_readme_example::test(); + test_default_values::test(); + test_optional_fields::test(); + test_unique_ptr::test(); + test_unique_ptr2::test(); + test_literal::test(); + test_variant::test(); + test_tagged_union::test(); + test_field_variant::test(); + test_ref::test(); + test_box::test(); + test_array::test(); + test_timestamp::test(); + test_flatten::test(); + test_flatten_anonymous::test(); + test_rename::test(); + test_deque::test(); + test_forward_list::test(); + test_list::test(); + test_map::test(); + test_map_with_key_validation::test(); + test_unordered_map::test(); + test_set::test(); + test_unordered_set::test(); + test_multimap::test(); + test_unordered_multimap::test(); + test_multiset::test(); + test_unordered_multiset::test(); + test_string_map::test(); + test_string_unordered_map::test(); + test_alphanumeric_map::test(); + test_alphanumeric_unordered_map::test(); + test_literal_map::test(); + test_literal_unordered_map::test(); + test_error_messages::test(); + test_result::test(); + test_anonymous_fields::test(); + test_monster_example::test(); - test_custom_class1(); - test_custom_class2(); - test_custom_class3(); - test_custom_class4(); + test_custom_class1::test(); + test_custom_class2::test(); + test_custom_class3::test(); + test_custom_class4::test(); - test_replace(); - test_replace_flatten(); - test_replace_with_other_struct(); - test_as(); + test_replace::test(); + test_replace_flatten::test(); + test_replace_with_other_struct::test(); + test_as::test(); test_as_flatten(); - test_custom_constructor(); + test_custom_constructor::test(); - test_all_of(); - test_any_of(); - test_one_of(); - test_email(); - test_size(); + test_all_of::test(); + test_any_of::test(); + test_one_of::test(); + test_email::test(); + test_size::test(); - test_save_load(); + test_save_load::test(); return 0; }