feat: migrate cpp/ranges from cppref [#59]#60
Open
github-actions[bot] wants to merge 2 commits intomainfrom
Open
feat: migrate cpp/ranges from cppref [#59]#60github-actions[bot] wants to merge 2 commits intomainfrom
github-actions[bot] wants to merge 2 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
RigelNana
reviewed
Dec 5, 2025
|
|
||
| <DescList> | ||
| <Desc autorevSince="C++20"> | ||
| <DocLink slot="item" src="/cpp/library/ranges/begin">`ranges::begin` :badge[C++20] </DocLink> |
Member
There was a problem hiding this comment.
These badges do not render correctly.
|
|
||
| #### Assignable wrapper | ||
|
|
||
| Some range adaptors wrap their elements or function objects with the <Revision until="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper">`*copyable-box*`</DocLink></span></Revision><Revision since="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper">`*movable-box*`</DocLink></span></Revision>. The wrapper augments the wrapped object with assignability when needed. |
Member
There was a problem hiding this comment.
Suggested change
| Some range adaptors wrap their elements or function objects with the <Revision until="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper">`*copyable-box*`</DocLink></span></Revision><Revision since="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper">`*movable-box*`</DocLink></span></Revision>. The wrapper augments the wrapped object with assignability when needed. | |
| Some range adaptors wrap their elements or function objects with the <Revision until="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper"><code><em>copyable-box</em></code></DocLink></span></Revision><Revision since="C++23"><span><DocLink src="/cpp/library/ranges/copyable_wrapper"><code><em>movable-box</em></code></DocLink></span></Revision>. The wrapper augments the wrapped object with assignability when needed. |
The italic syntax is not processed.
|
|
||
| #### Non-propagating cache | ||
|
|
||
| Some range adaptors are specified in terms of an exposition-only class template <DocLink src="/cpp/library/ranges/non-propagating-cache">`*non-propagating-cache*`</DocLink>, which behaves almost like `std::optional<T>` (see description for differences). |
Member
There was a problem hiding this comment.
Suggested change
| Some range adaptors are specified in terms of an exposition-only class template <DocLink src="/cpp/library/ranges/non-propagating-cache">`*non-propagating-cache*`</DocLink>, which behaves almost like `std::optional<T>` (see description for differences). | |
| Some range adaptors are specified in terms of an exposition-only class template <DocLink src="/cpp/library/ranges/non-propagating-cache"><code><em>non-propagating-cache</em></code></DocLink>, which behaves almost like `std::optional<T>` (see description for differences). |
|
@copilot can you address the comments in the PR |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Close #59
(No text diff image)
Green: word count increased after migration; Red: word count decreased after migration.