If a struct is simply a POD type ie. in my case a large struct with tons of trivially serializable fields, there shouldn't be a need to specify a serialize function tediously listing all of them (which is also error-prone). I know of brief_syntax but it doesn't really solve the problem.
Is this currently possible?
RPCS3's serialization system supports this very nicely (impl in this file), if you want an example.
Thanks for reading!
If a struct is simply a POD type ie. in my case a large struct with tons of trivially serializable fields, there shouldn't be a need to specify a
serializefunction tediously listing all of them (which is also error-prone). I know of brief_syntax but it doesn't really solve the problem.Is this currently possible?
RPCS3's serialization system supports this very nicely (impl in this file), if you want an example.
Thanks for reading!