-
Notifications
You must be signed in to change notification settings - Fork 1.6k
STL Hardening #5274
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
Merged
StephanTLavavej
merged 42 commits into
microsoft:main
from
StephanTLavavej:stl-hardening
Feb 21, 2025
Merged
STL Hardening #5274
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
7d01c7c
Exclude valarray's 28 binary ops, no test impact.
StephanTLavavej 96471c5
Exclude condition_variable::wait_until, no test impact.
StephanTLavavej 809bbee
Exclude basic_string::resize_and_overwrite, no test impact.
StephanTLavavej bd4e2ba
Exclude basic_string_view's ctor, update test coverage.
StephanTLavavej 1f933a7
Exclude span::size_bytes, update test coverage.
StephanTLavavej a96d50b
Exclude most of `<mdspan>`, update test coverage.
StephanTLavavej 4da1340
Exclude `<generator>`, update test coverage.
StephanTLavavej 1acddc8
Exclude iota_view, update test coverage.
StephanTLavavej 818163a
Exclude repeat_view, update test coverage.
StephanTLavavej 03d1405
Exclude filter_view, update test coverage.
StephanTLavavej 7d52a23
Exclude take_view, update test coverage.
StephanTLavavej 6c79b36
Exclude take_while_view, update test coverage.
StephanTLavavej ad023f9
Exclude drop_view, update test coverage.
StephanTLavavej 4a87616
Exclude drop_while_view, update test coverage.
StephanTLavavej 9ef4d62
Exclude views::counted, update test coverage.
StephanTLavavej 65d99ec
Exclude chunk_view, update test coverage.
StephanTLavavej 311d174
Exclude slide_view, update test coverage.
StephanTLavavej 40ea373
Exclude chunk_by_view, update test coverage.
StephanTLavavej 705b096
Exclude stride_view, update test coverage.
StephanTLavavej e21a1ae
Exclude cartesian_product_view, update test coverage.
StephanTLavavej 19e8406
Add `_MSVC_STL_HARDENING` control macros, initially off-by-default.
StephanTLavavej 777f8ee
Harden array.
StephanTLavavej 8b7ba64
Harden deque, overhaul pop_front/pop_back.
StephanTLavavej f1d8fe7
Harden forward_list, add pop_front.
StephanTLavavej c9ceb7e
Harden list.
StephanTLavavej d5a39a1
Harden vector, add vector<bool>::pop_back.
StephanTLavavej 2c2a79e
Harden basic_string, add pop_back.
StephanTLavavej c65c68b
Harden basic_string_view.
StephanTLavavej 0a799fb
Harden span.
StephanTLavavej 78e097b
Harden mdspan.
StephanTLavavej 9275943
Harden expected.
StephanTLavavej 95355d4
Harden optional.
StephanTLavavej 0b6c641
Harden valarray.
StephanTLavavej 274a0bd
Harden ranges::view_interface.
StephanTLavavej e26df58
Harden bitset, overhauling operator[].
StephanTLavavej 77b6fc5
Update test coverage for CDL removal.
StephanTLavavej 9c8a7b1
Remove CDL's default definition and emit an error if users define it.
StephanTLavavej 33c69b1
Add test coverage: GH_005090_stl_hardening
StephanTLavavej fae0a97
Enhancement: Move span::size_bytes() debug checks into span's ctors.
StephanTLavavej 199fffd
Enhancement: Overhaul the STL's "doom function".
StephanTLavavej cc35a7b
Code review feedback: Improve comments and debug messages.
StephanTLavavej 175f14d
Pre-emptively resolve conflict with GH 5274 by marking bitset.members…
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.