-
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
<memory>: _msize & std::allocator don't work together #966
Comments
I think it would go as |
Thanks - I think I'll tag it as |
In theory I think it is possible to make both |
My understanding that since the Standard permits |
We talked about this at the weekly maintainer meeting and decided that this is not a scenario that we should support. |
Describe the bug
_msize
does not work withstd::allocator
.std::allocator
allocates large buffer with own over-alignment:STL/stl/inc/xmemory
Line 113 in 5e3423a
so its buffer is not direct
malloc
Command-line test case
Expected behavior
Should be direct
malloc
STL version
Additional context
This item is also tracked on Developer Community as DevCom-380760 and by Microsoft-internal VSO-729275 / AB#729275.
The text was updated successfully, but these errors were encountered: