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

This commit is contained in:
sha512sum 2024-11-08 11:03:10 +00:00
parent 54cd81b4c0
commit ca9713d928

View file

@ -190,9 +190,9 @@ template <typename T>
struct SerializationConfig { struct SerializationConfig {
decltype([] { decltype([] {
return []<std::size_t... Is>( // GCC Workaround return []<std::size_t... Is>( // GCC Workaround
utempl::Wrapper<Is>...) -> utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<Is, T>>::type...> { std::index_sequence<Is>...) -> utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<Is, T>>::type...> {
std::unreachable(); 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 {