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

Use same struct scheme as box from imath for consistency #1073

Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Jun 27, 2021

Initially we did this differently so it was obvious it didn't have the
other functionality, but by having the same nested scheme of a box
having 2 vecs, enables us to add templated sfinae constructors to auto
convert the C type into c++ instead of just having to reinterpret cast

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

Initially we did this differently so it was obvious it didn't have the
other functionality, but by having the same nested scheme of a box
having 2 vecs, enables us to add templated sfinae constructors to auto
convert the C type into c++ instead of just having to reinterpret cast

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
Copy link
Contributor

@lgritz lgritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like

@kdt3rd kdt3rd merged commit bbcdeb6 into AcademySoftwareFoundation:master Jun 27, 2021
@kdt3rd kdt3rd deleted the normalize_box_access branch June 27, 2021 03:53
@cary-ilm cary-ilm added the v3.1.0 label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants