You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
<xmemory>: Document the mechanisms and invariants for container proxy objects - #6500
The initial version of the comments largely contained my personal explanations and opinions, especially for those starting with TRANSITION, ABI. Refinements from actual maintainers of MSVC STL are probably necessary.
The initial version of the comments largely contained my personal
explanations and opinions, especially for those starting with
`TRANSITION, ABI`. Refinements from actual maintainers of MSVC STL are
probably necessary.
This member points to the container's proxy, not directly to the container; _Getcont() follows _Myproxy->_Mycont. Invalidation does not necessarily clear this member, so describe the proxy association and use “orphaned” for the null state.
Correct assignment behavior and invalidation spelling
stl/inc/xmemory:1441
Assignment delegates to _Adopt_unlocked, which prepends rather than appends and leaves the list unchanged when parentage is unchanged. Please describe that behavior and correct invalidats; the same correction is needed for _Assign_locked at stl/inc/xmemory:1455–1456.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unresolved documentation inaccuracies in stl/inc/xmemory misstate proxy binding and indirection, iterator insertion order, and _Getcont() availability across debug levels.
The reason will be displayed to describe this comment to others. Learn more.
I guess we should also eliminate dynamically allocated proxy objects for deque, even though the (seemingly abandoned) existing vNext branch didn't seem to have this done.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to evaluate subtle documentation inaccuracies involving proxy indirection, unbound proxy state, and conditional iterator-list updates.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The documentation still misidentifies _Myproxy as pointing directly to the container and incorrectly describes an unbound proxy as already associated with a container.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Comments in stl/inc/xmemory misdescribe the proxy’s initially unbound state and container indirection, and contain unresolved spelling and grammar errors.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Comments in stl/inc/xmemory misdescribe proxy indirection and the initially unbound state, with additional spelling and grammar errors still unresolved.
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
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.
Fixes #2084.
The initial version of the comments largely contained my personal explanations and opinions, especially for those starting with
TRANSITION, ABI. Refinements from actual maintainers of MSVC STL are probably necessary.