-
Couldn't load subscription status.
- Fork 13.9k
Rewrite docs for pointer methods #53783
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
Merged
Changes from all commits
Commits
Show all changes
34 commits Select commit Hold shift + click to select a range
911d35f Rewrite docs for `std::ptr`
ecstatic-morse da58beb Mention alignment in top-level docs
9f5a3cc Fix failing doctests
ecstatic-morse 04a08c6 Fix unused variable warning in doctest
ecstatic-morse 7b2ef6b Update docs for `swap_nonoverlapping`
ecstatic-morse 6f7338b Reword module level docs re: alignment
ecstatic-morse 30122e9 Fix off-by-one error when specifying a valid range
ecstatic-morse e40585f Remove definiton of valid pointer
ecstatic-morse ea5570c Redefine range validity
ecstatic-morse 3a55c85 Incorporate RalfJung's suggestions
ecstatic-morse 95a9088 You can't make an omlette without breaking a few links
ecstatic-morse 7e165d9 Add a list of known facts re: validity
ecstatic-morse c8da321 Resolve null/ZST conflict correctly (whoops)
ecstatic-morse b0c5dc2 edit docs a little
RalfJung 098bec8 clarify that these are preliminary guarantees
RalfJung fc63113 clarify ZST comment
RalfJung 1ec66fb apply comments
RalfJung e869b81 address remaining remarks and add example for dropping unaligned data
RalfJung d97f61f avoid shadowing; fix examples
RalfJung c06f551 improve volatile comments
RalfJung 2741224 fix example
RalfJung 18a7bdb fix example
RalfJung 4ed469c turn ptr type method docs into links to docs of free functions, to av…
RalfJung dc2237c apply feedback
RalfJung b463871 (un)aligned
RalfJung 408a6a0 fix doctests
RalfJung 755de3c Valid raw pointers
RalfJung bc809e0 remark on concurrency in validity section
RalfJung 78f5b68 fix typos
ubsan c44e88c Merge pull request #1 from ubsan/ptr-docs
RalfJung 2713d36 tweaks
RalfJung 0ec87d0 rearrange for clarity
RalfJung adcc0d2 clarify swap
RalfJung c197dc4 clarify write_bytes a bit
RalfJung 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
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.