From c365d1b3087f49825ba6023120fabce7c4895b9e Mon Sep 17 00:00:00 2001 From: Patrick Urbanke Date: Sat, 7 Oct 2023 21:00:01 +0200 Subject: [PATCH] Made sure we support zero-copy replace --- include/rfl/Field.hpp | 4 +- include/rfl/NamedTuple.hpp | 67 +- include/rfl/from_named_tuple.hpp | 86 +- .../rfl/internal/copy_from_named_tuple.hpp | 69 + ...ield_tuple.hpp => copy_to_field_tuple.hpp} | 6 +- include/rfl/internal/field_tuple_t.hpp | 4 +- include/rfl/internal/flatten_field_tuple.hpp | 37 + include/rfl/internal/has_flatten_fields.hpp | 2 +- .../internal/move_and_flatten_field_tuple.hpp | 36 + .../move_field_tuple_to_named_tuple.hpp | 32 + .../rfl/internal/move_from_named_tuple.hpp | 2 +- include/rfl/internal/move_to_field_tuple.hpp | 1996 +++++++++++++++++ include/rfl/internal/to_ptr_named_tuple.hpp | 37 +- include/rfl/parsing/Parser.hpp | 3 +- include/rfl/replace.hpp | 16 +- include/rfl/to_named_tuple.hpp | 58 +- tests/test_move_replace.hpp | 28 + tests/test_replace.hpp | 28 + tests/tests.cpp | 12 +- 19 files changed, 2364 insertions(+), 159 deletions(-) create mode 100644 include/rfl/internal/copy_from_named_tuple.hpp rename include/rfl/internal/{to_field_tuple.hpp => copy_to_field_tuple.hpp} (99%) create mode 100644 include/rfl/internal/flatten_field_tuple.hpp create mode 100644 include/rfl/internal/move_and_flatten_field_tuple.hpp create mode 100644 include/rfl/internal/move_field_tuple_to_named_tuple.hpp create mode 100644 include/rfl/internal/move_to_field_tuple.hpp create mode 100644 tests/test_move_replace.hpp create mode 100644 tests/test_replace.hpp diff --git a/include/rfl/Field.hpp b/include/rfl/Field.hpp index 2d4d59f7..669cfec7 100644 --- a/include/rfl/Field.hpp +++ b/include/rfl/Field.hpp @@ -26,7 +26,7 @@ struct Field { Field(Type&& _value) noexcept : value_(std::move(_value)) {} - Field(Field<_name, Type>&& _field) noexcept + Field(Field<_name, _Type>&& _field) noexcept : value_(std::move(_field.value_)) {} Field(const Field<_name, Type>& _field) : value_(_field.get()) {} @@ -98,7 +98,7 @@ struct Field { } /// Assigns the underlying object. - inline void operator=(Field<_name, Type>&& _field) { + inline void operator=(Field<_name, Type>&& _field) noexcept { value_ = _field.get(); } diff --git a/include/rfl/NamedTuple.hpp b/include/rfl/NamedTuple.hpp index 23a70ad7..48bd252b 100644 --- a/include/rfl/NamedTuple.hpp +++ b/include/rfl/NamedTuple.hpp @@ -25,6 +25,21 @@ class NamedTuple { using Values = std::tuple::type::Type...>; public: + /// Construct from the values. + NamedTuple(typename std::decay::type::Type&&... _values) + : values_(std::forward::type::Type>( + _values)...) { + static_assert(no_duplicate_field_names(), + "Duplicate field names are not allowed"); + } + + /// Construct from the values. + NamedTuple(const typename std::decay::type::Type&... _values) + : values_(std::make_tuple(_values...)) { + static_assert(no_duplicate_field_names(), + "Duplicate field names are not allowed"); + } + /// Construct from the fields. NamedTuple(FieldTypes&&... _fields) : values_(std::make_tuple(std::move(_fields.value_)...)) { @@ -201,6 +216,20 @@ class NamedTuple { return *this; } + /// Replaces one or several fields, returning a new version + /// with the non-replaced fields left unchanged. + template + NamedTuple replace(RField&& _field, + OtherRFields&&... _other_fields) { + constexpr auto num_other_fields = sizeof...(OtherRFields); + if constexpr (num_other_fields == 0) { + return replace_value(_field.value_); + } else { + return replace_value(_field.value_) + .replace(std::forward(_other_fields)...); + } + } + /// Replaces one or several fields, returning a new version /// with the non-replaced fields left unchanged. template @@ -300,8 +329,8 @@ class NamedTuple { } /// Generates a new named tuple with one value replaced with a new value. - template - auto make_replaced(T&& _val, Args&&... _args) const { + template + auto make_replaced(V&& _values, T&& _val, Args&&... _args) const { constexpr auto size = sizeof...(Args); constexpr bool retrieved_all_fields = size == std::tuple_size{}; @@ -312,13 +341,16 @@ class NamedTuple { using FieldType = typename std::tuple_element::type; if constexpr (size == _index) { - return make_replaced<_index, T>(std::forward(_val), - std::forward(_args)..., - FieldType(_val)); + return make_replaced<_index, V, T>( + std::forward(_values), std::forward(_val), + std::forward(_args)..., + FieldType(std::forward(_val))); } else { - return make_replaced<_index, T>( - std::forward(_val), std::forward(_args)..., - FieldType(std::get(values_))); + using U = typename FieldType::Type; + return make_replaced<_index, V, T>( + std::forward(_values), std::forward(_val), + std::forward(_args)..., + FieldType(std::forward(std::get(_values)))); } } } @@ -328,18 +360,23 @@ class NamedTuple { return internal::no_duplicate_field_names(); } + /// Replaced the field signified by the field type. + template + NamedTuple replace_value(T&& _val) { + using FieldType = std::decay_t; + constexpr auto index = internal::find_index(); + return make_replaced(std::forward(values_), + std::forward(_val)); + } + /// Replaced the field signified by the field type. template NamedTuple replace_value(T&& _val) const { using FieldType = std::decay_t; constexpr auto index = internal::find_index(); - static_assert( - std::is_same::type::Type, - typename FieldType::Type>(), - "If two fields have the same name, " - "their type must be the same as " - "well."); - return make_replaced(_val); + auto values = values_; + return make_replaced(std::move(values), + std::forward(_val)); } /// Adds the elements of a tuple to a newly created named tuple, diff --git a/include/rfl/from_named_tuple.hpp b/include/rfl/from_named_tuple.hpp index 0b35442e..7c57817e 100644 --- a/include/rfl/from_named_tuple.hpp +++ b/include/rfl/from_named_tuple.hpp @@ -1,95 +1,27 @@ #ifndef RFL_FROM_NAMED_TUPLE_HPP_ #define RFL_FROM_NAMED_TUPLE_HPP_ -#include #include -#include "rfl/internal/has_flatten_fields.hpp" -#include "rfl/internal/is_named_tuple.hpp" -#include "rfl/internal/ptr_field_tuple_t.hpp" -#include "rfl/named_tuple_t.hpp" +#include "internal/copy_from_named_tuple.hpp" +#include "internal/move_from_named_tuple.hpp" namespace rfl { -template -FieldTupleType concat_named_tuple(NamedTupleType&& _n, Args&&... _args); - -/// Creates a struct of type T from a named tuple. -/// All fields of the struct must be an rfl::Field. +/// Generates the struct T from a named tuple. template T from_named_tuple(NamedTupleType&& _n) { - using RequiredType = std::decay_t>; - - if constexpr (internal::is_named_tuple_v>) { - return std::forward(_n); - } else if constexpr (std::is_same, - RequiredType>()) { - const auto make = [](ValueTypes&&... _values) { - return T{std::forward(_values)...}; - }; - - using PtrFieldTupleType = internal::ptr_field_tuple_t>; - - if constexpr (!internal::has_flatten_fields()) { - return std::apply( - make, - std::forward(_n.values())); - } else { - auto fields = concat_named_tuple(_n); - using FieldsType = std::decay_t; - return std::apply(make, std::forward(fields)); - } - + if constexpr (std::is_lvalue_reference{}) { + return internal::copy_from_named_tuple(_n); } else { - return from_named_tuple( - RequiredType(std::forward(_n))); + return internal::move_from_named_tuple(_n); } } -/// Creates a struct of type T from a named tuple. -/// All fields of the struct must be an rfl::Field. -/*template +/// Generates the struct T from a named tuple. +template T from_named_tuple(const NamedTupleType& _n) { - using RequiredType = std::decay_t>; - if constexpr (internal::is_named_tuple_v>) { - return _n; - - } else if constexpr (std::is_same, - RequiredType>()) { - const auto make = [](const auto&... _fields) { return T{_fields...}; -}; - - using FieldTupleType = internal::field_tuple_t; - - if constexpr (!internal::has_flatten_fields()) { - return std::apply(make, _n.fields()); - } else { - const auto fields = concat_named_tuple(_n); - return std::apply(make, fields); - } - - } else { - return from_named_tuple(RequiredType(_n)); - } -}*/ - -template -FieldTupleType concat_named_tuple(NamedTupleType&& _n, Args&&... _args) { - constexpr auto i = sizeof...(Args); - if constexpr (i == std::tuple_size_v>) { - return std::make_tuple(std::forward(_args)...); - } else { - using T = std::tuple_element_t; - if constexpr (internal::is_flatten_field::value) { - return concat_named_tuple( - _n, std::move(_args)..., - from_named_tuple(_n)); - } else { - return concat_named_tuple( - _n, std::forward(_args)..., - std::move(_n.template get_field())); - } - } + return internal::copy_from_named_tuple(_n); } } // namespace rfl diff --git a/include/rfl/internal/copy_from_named_tuple.hpp b/include/rfl/internal/copy_from_named_tuple.hpp new file mode 100644 index 00000000..dd17c6a7 --- /dev/null +++ b/include/rfl/internal/copy_from_named_tuple.hpp @@ -0,0 +1,69 @@ +#ifndef RFL_INTERNAL_COPY_FROM_NAMED_TUPLE_HPP_ +#define RFL_INTERNAL_COPY_FROM_NAMED_TUPLE_HPP_ + +#include +#include + +#include "rfl/internal/has_flatten_fields.hpp" +#include "rfl/internal/is_named_tuple.hpp" +#include "rfl/internal/move_from_named_tuple.hpp" +#include "rfl/internal/ptr_field_tuple_t.hpp" +#include "rfl/named_tuple_t.hpp" + +namespace rfl { +namespace internal { + +template +FieldTupleType concat_named_tuple(const NamedTupleType& _n, Args&&... _args); + +/// Creates a struct of type T from a named tuple. +/// All fields of the struct must be an rfl::Field. +template +T copy_from_named_tuple(const NamedTupleType& _n) { + using RequiredType = std::decay_t>; + + if constexpr (internal::is_named_tuple_v>) { + return _n; + } else if constexpr (std::is_same, + RequiredType>()) { + const auto make = [](ValueTypes&&... _values) { + return T{std::move(_values)...}; + }; + + using PtrFieldTupleType = internal::ptr_field_tuple_t>; + + if constexpr (!internal::has_flatten_fields()) { + auto values = _n.values(); + return std::apply(make, std::move(values)); + } else { + auto fields = concat_named_tuple(_n); + return std::apply(make, std::move(fields)); + } + + } else { + return move_from_named_tuple(RequiredType(_n)); + } +} + +template +FieldTupleType concat_named_tuple(const NamedTupleType& _n, Args&&... _args) { + constexpr auto i = sizeof...(Args); + if constexpr (i == std::tuple_size_v>) { + return std::make_tuple(std::forward(_args)...); + } else { + using T = std::tuple_element_t; + if constexpr (internal::is_flatten_field::value) { + return concat_named_tuple( + _n, std::move(_args)..., + copy_from_named_tuple(_n)); + } else { + return concat_named_tuple( + _n, std::move(_args)..., _n.template get_field()); + } + } +} + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/to_field_tuple.hpp b/include/rfl/internal/copy_to_field_tuple.hpp similarity index 99% rename from include/rfl/internal/to_field_tuple.hpp rename to include/rfl/internal/copy_to_field_tuple.hpp index 9b48cedf..34f31552 100644 --- a/include/rfl/internal/to_field_tuple.hpp +++ b/include/rfl/internal/copy_to_field_tuple.hpp @@ -1,5 +1,5 @@ -#ifndef RFL_INTERNAL_TO_FIELD_TUPLE_HPP_ -#define RFL_INTERNAL_TO_FIELD_TUPLE_HPP_ +#ifndef RFL_INTERNAL_COPY_TO_FIELD_TUPLE_HPP_ +#define RFL_INTERNAL_COPY_TO_FIELD_TUPLE_HPP_ #include #include @@ -41,7 +41,7 @@ with open("generated_code2.cpp", "w", encoding="utf-8") as codefile: */ template -auto to_field_tuple(const T& _t) { +auto copy_to_field_tuple(const T& _t) { if constexpr (internal::is_named_tuple_v) { return _t.fields(); } else if constexpr (internal::has_n_fields) { diff --git a/include/rfl/internal/field_tuple_t.hpp b/include/rfl/internal/field_tuple_t.hpp index 08171113..5d498322 100644 --- a/include/rfl/internal/field_tuple_t.hpp +++ b/include/rfl/internal/field_tuple_t.hpp @@ -5,14 +5,14 @@ #include #include -#include "rfl/internal/to_field_tuple.hpp" +#include "rfl/internal/copy_to_field_tuple.hpp" namespace rfl { namespace internal { template using field_tuple_t = - typename std::invoke_result), T>::type; + typename std::invoke_result), T>::type; } } // namespace rfl diff --git a/include/rfl/internal/flatten_field_tuple.hpp b/include/rfl/internal/flatten_field_tuple.hpp new file mode 100644 index 00000000..97a67370 --- /dev/null +++ b/include/rfl/internal/flatten_field_tuple.hpp @@ -0,0 +1,37 @@ +#ifndef RFL_INTERNAL_FLATTEN_FIELD_TUPLE_HPP_ +#define RFL_INTERNAL_FLATTEN_FIELD_TUPLE_HPP_ + +#include + +#include "rfl/internal/copy_to_field_tuple.hpp" +#include "rfl/internal/is_flatten_field.hpp" + +namespace rfl { +namespace internal { + +template +auto flatten_field_tuple(FieldTuple&& _t, Args&&... _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 (is_flatten_field::value) { + return flatten_field_tuple( + std::forward(_t), std::forward(_args)..., + flatten_field_tuple(copy_to_field_tuple( // TODO: move_to_... + std::get(_t).get()))); + } else { + using T = + std::decay_t>>; + return flatten_field_tuple( + std::forward(_t), std::forward(_args)..., + std::make_tuple(std::forward(std::get(_t)))); + } + } +} + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/has_flatten_fields.hpp b/include/rfl/internal/has_flatten_fields.hpp index 41d4a51f..625b29b3 100644 --- a/include/rfl/internal/has_flatten_fields.hpp +++ b/include/rfl/internal/has_flatten_fields.hpp @@ -15,7 +15,7 @@ constexpr bool has_flatten_fields() { if constexpr (_i == std::tuple_size_v) { return false; } else { - using T = std::tuple_element_t<_i, TupleType>; + using T = std::decay_t>; return is_flatten_field::value || has_flatten_fields(); } diff --git a/include/rfl/internal/move_and_flatten_field_tuple.hpp b/include/rfl/internal/move_and_flatten_field_tuple.hpp new file mode 100644 index 00000000..fded82f2 --- /dev/null +++ b/include/rfl/internal/move_and_flatten_field_tuple.hpp @@ -0,0 +1,36 @@ +#ifndef RFL_INTERNAL_MOVE_AND_FLATTEN_FIELD_TUPLE_HPP_ +#define RFL_INTERNAL_MOVE_AND_FLATTEN_FIELD_TUPLE_HPP_ + +#include + +#include "rfl/internal/copy_to_field_tuple.hpp" +#include "rfl/internal/is_flatten_field.hpp" + +namespace rfl { +namespace internal { + +template +auto move_and_flatten_field_tuple(FieldTuple&& _t, Args&&... _args) { + constexpr auto i = sizeof...(Args); + if constexpr (i == std::tuple_size_v>) { + return std::tuple_cat(std::move(_args)...); + } else { + using T = std::tuple_element_t>; + if constexpr (is_flatten_field::value) { + return move_and_flatten_field_tuple( + std::move(_t), std::move(_args)..., + move_and_flatten_field_tuple( + copy_to_field_tuple( // TODO: move_to_... + std::get(_t).get()))); + } else { + return move_and_flatten_field_tuple( + std::move(_t), std::move(_args)..., + std::make_tuple(std::move(std::get(_t)))); + } + } +} + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/move_field_tuple_to_named_tuple.hpp b/include/rfl/internal/move_field_tuple_to_named_tuple.hpp new file mode 100644 index 00000000..ae940f9b --- /dev/null +++ b/include/rfl/internal/move_field_tuple_to_named_tuple.hpp @@ -0,0 +1,32 @@ +#ifndef RFL_INTERNAL_MOVE_FIELD_TUPLE_TO_NAMED_TUPLE_HPP_ +#define RFL_INTERNAL_MOVE_FIELD_TUPLE_TO_NAMED_TUPLE_HPP_ + +#include +#include + +#include "rfl/Field.hpp" +#include "rfl/internal/has_flatten_fields.hpp" +#include "rfl/internal/move_and_flatten_field_tuple.hpp" + +namespace rfl { +namespace internal { + +template +auto move_field_tuple_to_named_tuple(FieldTuple&& _field_tuple) { + const auto ft_to_nt = [](Fields&&... _fields) { + return make_named_tuple(std::move(_fields)...); + }; + + if constexpr (!has_flatten_fields>()) { + return std::apply(ft_to_nt, std::move(_field_tuple)); + } else { + auto flattened_tuple = + move_and_flatten_field_tuple(std::move(_field_tuple)); + return std::apply(ft_to_nt, std::move(flattened_tuple)); + } +} + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/move_from_named_tuple.hpp b/include/rfl/internal/move_from_named_tuple.hpp index a6a07ff4..8f09a016 100644 --- a/include/rfl/internal/move_from_named_tuple.hpp +++ b/include/rfl/internal/move_from_named_tuple.hpp @@ -76,7 +76,7 @@ auto move_from_pointers(Pointers& _ptrs, Args&&... _args) { /// Creates a struct of type T from a named tuple by moving the underlying /// fields. template -T move_from_named_tuple(NamedTupleType& _n) { +T move_from_named_tuple(NamedTupleType&& _n) { using RequiredType = std::decay_t>; if constexpr (is_named_tuple_v>) { diff --git a/include/rfl/internal/move_to_field_tuple.hpp b/include/rfl/internal/move_to_field_tuple.hpp new file mode 100644 index 00000000..7c0b3cc5 --- /dev/null +++ b/include/rfl/internal/move_to_field_tuple.hpp @@ -0,0 +1,1996 @@ +#ifndef RFL_INTERNAL_MOVE_TO_FIELD_TUPLE_HPP_ +#define RFL_INTERNAL_MOVE_TO_FIELD_TUPLE_HPP_ + +#include +#include + +#include "rfl/always_false.hpp" +#include "rfl/internal/has_n_fields.hpp" +#include "rfl/internal/is_named_tuple.hpp" + +namespace rfl { +namespace internal { + +/*The following boilerplate code was generated using a Python script: +def make_field_template(num: int) -> str: + fields = ", ".join([f"f{i+1}" for i in range(num)]) + move_fields = ", ".join([f"std::move(f{i+1})" for i in range(num)]) + return ( + """ + } else if constexpr (internal::has_n_fields) {""" + + ("auto& [" + fields + "] = _t;" if num > 0 else "") + + """ + return std::make_tuple(""" + + move_fields + + ");" + ) + + +beginning = """ +if constexpr (internal::is_named_tuple_v) { + return _t.fields();""" + +main_part = "".join((make_field_template(i) for i in range(101))) + +code = beginning + main_part + +with open("generated_code2.cpp", "w", encoding="utf-8") as codefile: + codefile.write(code) +*/ + +template +auto move_to_field_tuple(OriginalStruct&& _t) { + using T = std::decay_t; + if constexpr (internal::is_named_tuple_v) { + return _t.fields(); + } else if constexpr (internal::has_n_fields) { + return std::make_tuple(); + } else if constexpr (internal::has_n_fields) { + auto& [f1] = _t; + return std::make_tuple(std::move(f1)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2] = _t; + return std::make_tuple(std::move(f1), std::move(f2)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14] = + _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14)); + } else if constexpr (internal::has_n_fields) { + auto& [f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, + f15] = _t; + return std::make_tuple(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16)); + } else if constexpr (internal::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(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), + std::move(f16), std::move(f17)); + } else if constexpr (internal::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(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), + std::move(f16), std::move(f17), std::move(f18)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20)); + } else if constexpr (internal::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(std::move(f1), std::move(f2), std::move(f3), + std::move(f4), std::move(f5), std::move(f6), + std::move(f7), std::move(f8), std::move(f9), + std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), + std::move(f16), std::move(f17), std::move(f18), + std::move(f19), std::move(f20), std::move(f21)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95), std::move(f96)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95), std::move(f96), + std::move(f97)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95), std::move(f96), + std::move(f97), std::move(f98)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95), std::move(f96), + std::move(f97), std::move(f98), std::move(f99)); + } else if constexpr (internal::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( + std::move(f1), std::move(f2), std::move(f3), std::move(f4), + std::move(f5), std::move(f6), std::move(f7), std::move(f8), + std::move(f9), std::move(f10), std::move(f11), std::move(f12), + std::move(f13), std::move(f14), std::move(f15), std::move(f16), + std::move(f17), std::move(f18), std::move(f19), std::move(f20), + std::move(f21), std::move(f22), std::move(f23), std::move(f24), + std::move(f25), std::move(f26), std::move(f27), std::move(f28), + std::move(f29), std::move(f30), std::move(f31), std::move(f32), + std::move(f33), std::move(f34), std::move(f35), std::move(f36), + std::move(f37), std::move(f38), std::move(f39), std::move(f40), + std::move(f41), std::move(f42), std::move(f43), std::move(f44), + std::move(f45), std::move(f46), std::move(f47), std::move(f48), + std::move(f49), std::move(f50), std::move(f51), std::move(f52), + std::move(f53), std::move(f54), std::move(f55), std::move(f56), + std::move(f57), std::move(f58), std::move(f59), std::move(f60), + std::move(f61), std::move(f62), std::move(f63), std::move(f64), + std::move(f65), std::move(f66), std::move(f67), std::move(f68), + std::move(f69), std::move(f70), std::move(f71), std::move(f72), + std::move(f73), std::move(f74), std::move(f75), std::move(f76), + std::move(f77), std::move(f78), std::move(f79), std::move(f80), + std::move(f81), std::move(f82), std::move(f83), std::move(f84), + std::move(f85), std::move(f86), std::move(f87), std::move(f88), + std::move(f89), std::move(f90), std::move(f91), std::move(f92), + std::move(f93), std::move(f94), std::move(f95), std::move(f96), + std::move(f97), std::move(f98), std::move(f99), std::move(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"); + } +} + +} // namespace internal +} // namespace rfl + +#endif diff --git a/include/rfl/internal/to_ptr_named_tuple.hpp b/include/rfl/internal/to_ptr_named_tuple.hpp index 989dfd11..a6fb6d6f 100644 --- a/include/rfl/internal/to_ptr_named_tuple.hpp +++ b/include/rfl/internal/to_ptr_named_tuple.hpp @@ -22,10 +22,10 @@ auto flatten_ptr_field_tuple(const PtrFieldTuple& _t, Args&&... _args) { } else { using T = std::tuple_element_t>; if constexpr (internal::is_flatten_field::value) { - return flatten_ptr_field_tuple( - _t, std::forward(_args)..., - flatten_ptr_field_tuple( - internal::to_ptr_field_tuple(*std::get(_t).get()))); + 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))); @@ -33,6 +33,20 @@ auto flatten_ptr_field_tuple(const PtrFieldTuple& _t, Args&&... _args) { } } +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...); + }; + + 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 @@ -41,20 +55,7 @@ auto to_ptr_named_tuple(const T& _t) { return nt_to_ptr_named_tuple(_t); } else { const auto ptr_field_tuple = to_ptr_field_tuple(_t); - - const auto ft_to_nt = [](const Fields&... _fields) { - return make_named_tuple(_fields...); - }; - - using PtrFieldTuple = std::decay_t; - - 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); - } + return field_tuple_to_named_tuple(ptr_field_tuple); } } diff --git a/include/rfl/parsing/Parser.hpp b/include/rfl/parsing/Parser.hpp index a036742d..fda9f122 100644 --- a/include/rfl/parsing/Parser.hpp +++ b/include/rfl/parsing/Parser.hpp @@ -31,7 +31,6 @@ #include "rfl/internal/all_fields.hpp" #include "rfl/internal/has_reflection_method_v.hpp" #include "rfl/internal/has_reflection_type_v.hpp" -#include "rfl/internal/move_from_named_tuple.hpp" #include "rfl/internal/no_duplicate_field_names.hpp" #include "rfl/internal/to_ptr_named_tuple.hpp" #include "rfl/named_tuple_t.hpp" @@ -76,7 +75,7 @@ struct Parser { using NamedTupleType = named_tuple_t; const auto to_struct = [](NamedTupleType&& _n) -> Result { try { - return internal::move_from_named_tuple(_n); + return from_named_tuple(std::move(_n)); } catch (std::exception& e) { return Error(e.what()); } diff --git a/include/rfl/replace.hpp b/include/rfl/replace.hpp index 36a356cb..b9df1d64 100644 --- a/include/rfl/replace.hpp +++ b/include/rfl/replace.hpp @@ -1,12 +1,24 @@ #ifndef RFL_REPLACE_HPP_ #define RFL_REPLACE_HPP_ +#include + #include "rfl/from_named_tuple.hpp" -#include "rfl/internal/is_named_tuple.hpp" -#include "rfl/to_named_tuple.hpp" namespace rfl { +/// Replaces one or several fields, returning a new version +/// with the non-replaced fields left unchanged. +template +auto replace(T&& _t, RField&& _field, OtherRFields&&... _other_fields) { + if constexpr (internal::is_named_tuple_v) { + return std::forward(_t).replace(_field, _other_fields...); + } else { + return from_named_tuple(to_named_tuple(std::forward(_t)) + .replace(_field, _other_fields...)); + } +} + /// Replaces one or several fields, returning a new version /// with the non-replaced fields left unchanged. template diff --git a/include/rfl/to_named_tuple.hpp b/include/rfl/to_named_tuple.hpp index 5e281c96..857813b7 100644 --- a/include/rfl/to_named_tuple.hpp +++ b/include/rfl/to_named_tuple.hpp @@ -3,32 +3,37 @@ #include #include +#include #include "rfl/always_false.hpp" +#include "rfl/internal/copy_to_field_tuple.hpp" +#include "rfl/internal/flatten_field_tuple.hpp" #include "rfl/internal/has_flatten_fields.hpp" #include "rfl/internal/is_field.hpp" #include "rfl/internal/is_named_tuple.hpp" -#include "rfl/internal/to_field_tuple.hpp" +#include "rfl/internal/move_field_tuple_to_named_tuple.hpp" +#include "rfl/internal/move_to_field_tuple.hpp" #include "rfl/make_named_tuple.hpp" namespace rfl { -template -auto flatten_field_tuple(FieldTuple&& _t, Args&&... _args) { - constexpr auto i = sizeof...(Args); - if constexpr (i == std::tuple_size_v>) { - return std::tuple_cat(std::forward(_args)...); +/// Generates the named tuple that is equivalent to the struct _t. +/// If _t already is a named tuple, then _t will be returned. +/// All fields of the struct must be an rfl::Field. +template +auto to_named_tuple(T&& _t) { + if constexpr (internal::is_named_tuple_v>) { + return _t; + } else if constexpr (internal::is_field_v>) { + return make_named_tuple(std::forward(_t)); + } else if constexpr (std::is_lvalue_reference{}) { + auto field_tuple = internal::copy_to_field_tuple(_t); + return internal::move_field_tuple_to_named_tuple( + std::move(field_tuple)); } else { - using T = std::tuple_element_t>; - if constexpr (internal::is_flatten_field::value) { - return flatten_field_tuple( - _t, std::forward(_args)..., - flatten_field_tuple(internal::to_field_tuple( - std::move(std::get(_t).get())))); - } else { - return flatten_field_tuple(_t, std::forward(_args)..., - std::make_tuple(std::get(_t))); - } + auto field_tuple = internal::move_to_field_tuple(_t); + return internal::move_field_tuple_to_named_tuple( + std::move(field_tuple)); } } @@ -37,25 +42,14 @@ auto flatten_field_tuple(FieldTuple&& _t, Args&&... _args) { /// All fields of the struct must be an rfl::Field. template auto to_named_tuple(const T& _t) { - if constexpr (internal::is_named_tuple_v) { + if constexpr (internal::is_named_tuple_v>) { return _t; - } else if constexpr (internal::is_field_v) { + } else if constexpr (internal::is_field_v>) { return make_named_tuple(_t); } else { - auto field_tuple = internal::to_field_tuple(_t); - - using FieldTuple = std::decay_t; - - const auto ft_to_nt = [](Fields&&... _fields) { - return make_named_tuple(_fields...); - }; - - if constexpr (!internal::has_flatten_fields()) { - return std::apply(ft_to_nt, std::move(field_tuple)); - } else { - auto flattened_tuple = flatten_field_tuple(std::move(field_tuple)); - return std::apply(ft_to_nt, std::move(flattened_tuple)); - } + auto field_tuple = internal::copy_to_field_tuple(_t); + return internal::move_field_tuple_to_named_tuple( + std::move(field_tuple)); } } diff --git a/tests/test_move_replace.hpp b/tests/test_move_replace.hpp new file mode 100644 index 00000000..f4799a1f --- /dev/null +++ b/tests/test_move_replace.hpp @@ -0,0 +1,28 @@ +#include +#include +#include +#include +#include +#include + +#include "write_and_read.hpp" + +void test_move_replace() { + std::cout << "test_move_replace" << std::endl; + + struct Person { + rfl::Field<"firstName", std::string> first_name; + rfl::Field<"lastName", std::string> last_name; + rfl::Field<"children", rfl::Box>> children; + }; + + const auto lisa = Person{.first_name = "Lisa", + .last_name = "Simpson", + .children = rfl::make_box>()}; + + const auto maggie = + rfl::replace(lisa, rfl::make_field<"firstName">(std::string("Maggie"))); + + write_and_read( + maggie, R"({"firstName":"Maggie","lastName":"Simpson","children":[]})"); +} diff --git a/tests/test_replace.hpp b/tests/test_replace.hpp new file mode 100644 index 00000000..6d7229a0 --- /dev/null +++ b/tests/test_replace.hpp @@ -0,0 +1,28 @@ +#include +#include +#include +#include +#include +#include + +#include "write_and_read.hpp" + +void test_replace() { + std::cout << "test_replace" << std::endl; + + 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>()}; + + 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":[]})"); +} diff --git a/tests/tests.cpp b/tests/tests.cpp index 178893f0..f4a91ca8 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -11,6 +11,7 @@ #include "test_optional_fields.hpp" #include "test_readme_example.hpp" #include "test_ref.hpp" +#include "test_replace.hpp" #include "test_tagged_union.hpp" #include "test_timestamp.hpp" #include "test_unique_ptr.hpp" @@ -29,13 +30,16 @@ int main() { test_field_variant(); test_ref(); test_box(); - test_custom_class1(); - test_custom_class2(); - test_custom_class3(); - test_custom_class4(); test_array(); test_timestamp(); test_flatten(); + test_custom_class1(); + test_custom_class2(); + test_custom_class3(); + test_custom_class4(); + + test_replace(); + return 0; }