-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<functional>: std::function doesn't handle over-aligned types #698
<functional>: std::function doesn't handle over-aligned types #698
Conversation
Could you please move development offline? I try to follow the development of the STL and if you push every single commit it really spams my inbox. This PR alone was 6 mails It would be great if you could finish a task and then push that for review not every step in between. |
I'll try, but it is not always possible. I did make this change locally working, including local test run. Test failure on CI was unexpected, but that's what CI is about - to run more tests under more conditions than I would do locally. Also I deliberately added tests before the fix to make sure that if tests pass, they really pass, not ignored. This caused extra commit. |
Co-Authored-By: Casey Carter <cartec69@gmail.com>
Co-Authored-By: Casey Carter <cartec69@gmail.com>
Co-Authored-By: Casey Carter <cartec69@gmail.com>
Co-Authored-By: Billy O'Neal <billy.oneal@gmail.com>
it interprets as template braces otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last static_assert
issue here and this looks good to me.
Co-Authored-By: Stephan T. Lavavej <stl@nuwen.net>
Co-Authored-By: Stephan T. Lavavej <stl@nuwen.net>
This reverts commit 76bfccb. It was meant for another branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I pushed very small edits to the comments. Now I'll mirror this to the Microsoft-internal repo and merge this soon.
Thanks for this significant bugfix! 🎉 |
#690 , starting with tests to make sure they fail