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 is_trivially_copyable more, and instead of is_trivially_copy_constructible #642

Open
eyalroz opened this issue Apr 13, 2024 · 0 comments
Labels

Comments

@eyalroz
Copy link
Owner

eyalroz commented Apr 13, 2024

The appropriate condition to check when memcpy'ing typed data is whether or not it is trivially copyable - not just trivially copy-ct'able. But we seem to be checking for the latter, if anything, in several places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant