Skip to content

<algorithm>: fill does not accept volatile byte pointers - #1557

Merged
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:masterfrom
MattStephanson:gh-1556-volatile-fill
Jan 15, 2021
Merged

<algorithm>: fill does not accept volatile byte pointers#1557
Stephan T. Lavavej (StephanTLavavej) merged 2 commits into
microsoft:masterfrom
MattStephanson:gh-1556-volatile-fill

Conversation

@MattStephanson

Copy link
Copy Markdown
Contributor

Fixes #1556. In _Fill_memset_is_safe, the _Unwrap_enum_t template discards qualifiers of enum types, including byte, so volatile needs to be checked explicitly.

Comment thread stl/inc/xutility
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added the bug Something isn't working label Jan 6, 2021
Comment thread stl/inc/xutility Outdated
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for fixing this bug - it fills my heart with joy! 😹 😻

@MattStephanson
Matt Stephanson (MattStephanson) deleted the gh-1556-volatile-fill branch January 24, 2021 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<algorithm>: fill does not accept volatile byte pointers

4 participants