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

Replace BOOST_PP macros in testTraceData with std::tuple utilities #2842

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

nvmkuruc
Copy link
Collaborator

Description of Change(s)

C++17 offers guaranteed copy elision, allowing for methods like std::make_from_tuple to create non-copyable and non-movable types.

This lets us bring many transformations in testTraceData out of the preprocessor space and into the tuple space, avoiding relying on specific indexing provided by BOOST_PP_SEQ_FOR_EACH_I.

Fixes Issue(s)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-9016

@pixar-oss pixar-oss merged commit 929b4fd into PixarAnimationStudios:dev Dec 11, 2023
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.

3 participants