-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
I know everything can be much easier with reflection, but sadly C++ doesn't have it
When I'm writing code I noticed I'm repeating myself, serialization and deserialization looks very similar
How can I serealize and deserialize things in elegant way? For example lets say we want to serialize this:
struct Human
{
std::string name;
int age;
};
and then deserialize it back. As I said earlier, if it's possible I wanna combine serialization and deserialization code
thanks for your help in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation