-
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
Move some components from upstream headers to downstream #3719
Move some components from upstream headers to downstream #3719
Conversation
So that they can be `#undef`'d in the same header. Also demacroize `_MAX_INT_DIG` and rename it to `_Max_int_dig`, because it is used in multiple headers.
where the standard provides it, together with its friends.
from `<utility>` to `<__msvc_iter_core.hpp>` where suitable. Although they are unrelated to iterators.
to tests/tr1/tests/utility
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.
Just a couple of pre-existing comment nitpicks that I'll go ahead and apply. Thanks, this is a nice cleanup.
Just a couple of pre-existing comment nits.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for improving our header structure and very slightly increasing throughput for rare TUs! 🎉 ✨ 😺 |
_MAX_*
macros from<yvals.h>
to<xlocnum>
so that they can be#undef
'd in the same header. Also demacroize_MAX_INT_DIG
and rename it to_Max_int_dig
, because it is used in multiple headers.integer_sequence
and its friends from<type_traits>
to<utility>
where the standard provides them.allocator_arg
,uses_allocator
and their friends from<utility>
to<__msvc_iter_core.hpp>
where suitable. Although they are unrelated to iterators.