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 std::is_trivially_assignable with std::is_trivially_copy_assignable #2754

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

nvmkuruc
Copy link
Collaborator

@nvmkuruc nvmkuruc commented Oct 24, 2023

Description of Change(s)

#2212 and #2214 replaced boost::has_trivial_assign<T> with std::is_trivially_assignable<T&, const T&>. C++17 has introduced std::is_trivially_copy_assignable which more compactly maps to the original boost::has_trivial_assign.

This change also replaces some usage of {TRAIT}::value with the equivalent {TRAIT}_v representation.

Fixes Issue(s)

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

@sunyab
Copy link
Contributor

sunyab commented Oct 30, 2023

Filed as internal issue #USD-8876

@pixar-oss pixar-oss merged commit 8182cb4 into PixarAnimationStudios:dev Nov 17, 2023
3 of 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