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

Introduce struct_view #147

Merged
merged 6 commits into from
Aug 22, 2024
Merged

Conversation

EazyReal
Copy link

@EazyReal EazyReal commented Jul 16, 2024

The scope of this PR is to introduce StructView, a tool to extract the information of a struct's paths to a fixed metadata type.
This uses a library which is also introduced in this PR recursive_reflection to do reflection on structs recursively.
We provide some common customizations for common types like iterable, std::optional, chrono::duration, enums, etc.
However, the recursion and metadata extraction strategies are designed to be extensible and overwritable.

@EazyReal EazyReal force-pushed the yt/struct_view branch 9 times, most recently from c2f4917 to 079c3ec Compare August 16, 2024 18:40
@EazyReal EazyReal marked this pull request as ready for review August 16, 2024 18:44
@EazyReal EazyReal force-pushed the yt/struct_view branch 7 times, most recently from 08063b2 to 8a7c4e1 Compare August 16, 2024 19:29
@alexkaratarakis alexkaratarakis merged commit b1669cd into teslamotors:main Aug 22, 2024
5 checks passed
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 this pull request may close these issues.

None yet

2 participants