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

Various cleanups #3019

Merged
merged 10 commits into from
Aug 12, 2022
Merged

Conversation

StephanTLavavej
Copy link
Member

  • <forward_list>, <list>, <vector>: Drop redundant access control.
  • <variant>: _Convertible_from_all can be an alias template.
  • src/xrngdev.cpp: Drop totally redundant declaration of _Random_device().
  • src/xrngdev.cpp: Include less machinery.
    • We don't need all of <stdexcept>, and we don't need <random> commented-out.
    • We need <cstdlib> for rand_s() and <xutility> for _Xout_of_range().
  • P0220R1_polymorphic_memory_resources/test.cpp: Use https URL.
  • tools/validate/CMakeLists.txt: Use C++23.
  • src/xdateord.cpp: Repeat _CRTIMP2_PURE from the declaration in <xlocinfo>.
  • src/xtime.cpp: Add _CRTIMP2_PURE and __cdecl to match declarations in <xtimec.h>.
  • src/filesystem.cpp: Comment "copying from 2 consecutive DWORDs".
  • <yvals.h>: Guard _Init_locks with _CRTBLD, nothing in stl/inc needs it.

@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Aug 10, 2022
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner August 10, 2022 05:15
@strega-nil-ms strega-nil-ms self-assigned this Aug 10, 2022
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@strega-nil-ms strega-nil-ms removed their assignment Aug 10, 2022
@StephanTLavavej StephanTLavavej self-assigned this Aug 11, 2022
@StephanTLavavej
Copy link
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

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

Successfully merging this pull request may close these issues.

3 participants