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 classes to convert between C++ and EXT_structural_metadata property types #640

Merged
merged 13 commits into from
May 18, 2023

Conversation

j9liu
Copy link
Contributor

@j9liu j9liu commented May 15, 2023

This PR adds EXT_structural_metadata counterparts to the PropertyType.h and PropertyTypeTraits.h files under anew files and a "StructuralMetadata" namespace. The idea is that once everything is done, the old files will be deleted and the new files will be renamed.

@kring It's a pretty monotonous PR but I'd love to know if there's any way to make this more... nice? Templated? If at all possible. Especially with the vecN and matN permutations. I also was incorrect, there are integer matNs and my Visual Studio Intellisense wasn't 100% working 🙃

There's a Visual Studio warning in TestStructuralMetadataPropertyTypeTraits that the function takes up a lot of memory on the stack -- should I address this?

@kring
Copy link
Member

kring commented May 16, 2023

I haven't fully reviewed this yet, because I got distracted with seeing if I could simplify the traits with some partial template specialization. But it definitely looks good at a high level!

@kring
Copy link
Member

kring commented May 18, 2023

Looks good!

@kring kring merged commit df65ade into upgrade-feature-metadata May 18, 2023
@kring kring deleted the new-metadata-property-types branch May 18, 2023 05:22
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.

2 participants