Skip to content

Easy serialization for POD types #104

@VelocityRa

Description

@VelocityRa

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions