.
Some checks failed
PR Check / on-push-commit-check (push) Failing after 7m38s

This commit is contained in:
sha512sum 2024-11-08 11:18:42 +00:00
parent ca9713d928
commit 5992b454a5

View file

@ -189,10 +189,9 @@ auto SerializeField(xmlpp::Element* main, const T& obj) {
template <typename T> template <typename T>
struct SerializationConfig { struct SerializationConfig {
decltype([] { decltype([] {
return []<std::size_t... Is>( // GCC Workaround return [](auto... is) {
std::index_sequence<Is>...) -> utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<Is, T>>::type...> { return utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<*is, T>>::type...>{};
std::unreachable(); } | utempl::kSeq<boost::pfr::tuple_size_v<T>>;
}(std::make_index_sequence<boost::pfr::tuple_size_v<T>>());
}()) tuple{}; }()) tuple{};
template <std::size_t I, typename Self> // NOLINTNEXTLINE template <std::size_t I, typename Self> // NOLINTNEXTLINE
consteval auto With(this Self&& self, ElementConfig<boost::pfr::tuple_element_t<I, T>>::type config) -> SerializationConfig { consteval auto With(this Self&& self, ElementConfig<boost::pfr::tuple_element_t<I, T>>::type config) -> SerializationConfig {