This commit is contained in:
parent
69ed523a4a
commit
54cd81b4c0
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ auto SerializeField(xmlpp::Element* main, const T& obj) {
|
|||
template <typename T>
|
||||
struct SerializationConfig {
|
||||
decltype([] {
|
||||
return [](auto... is) -> utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<*is, T>>::type...> {
|
||||
return []<std::size_t... Is>( // GCC Workaround
|
||||
utempl::Wrapper<Is>...) -> utempl::Tuple<typename ElementConfig<boost::pfr::tuple_element_t<Is, T>>::type...> {
|
||||
std::unreachable();
|
||||
} | utempl::kSeq<boost::pfr::tuple_size_v<T>>;
|
||||
}()) tuple{};
|
||||
|
|
Loading…
Reference in a new issue