This commit is contained in:
parent
54cd81b4c0
commit
ca9713d928
1 changed files with 2 additions and 2 deletions
|
@ -190,9 +190,9 @@ template <typename T>
|
|||
struct SerializationConfig {
|
||||
decltype([] {
|
||||
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();
|
||||
} | utempl::kSeq<boost::pfr::tuple_size_v<T>>;
|
||||
}(std::make_index_sequence<boost::pfr::tuple_size_v<T>>());
|
||||
}()) tuple{};
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue