Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for described classes #626

Closed
pdimov opened this issue Oct 2, 2021 · 0 comments · Fixed by #779
Closed

Add support for described classes #626

pdimov opened this issue Oct 2, 2021 · 0 comments · Fixed by #779

Comments

@pdimov
Copy link
Member

pdimov commented Oct 2, 2021

Basically add https://www.boost.org/doc/libs/1_77_0/libs/describe/doc/html/describe.html#example_to_json and https://www.boost.org/doc/libs/1_77_0/libs/describe/doc/html/describe.html#example_from_json to the library proper so that described structs and classes work automagically, with no additional user effort.

An open issue is how to treat base classes; in the first iteration, we may only enable support for types with no base classes (as reported by describe_bases), which will allow us to postpone the decision without breaking code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants