-
Notifications
You must be signed in to change notification settings - Fork 11
feat: migrate cpp/ranges from cppref [#59] #60
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
||
| <DescList> | ||
| <Desc autorevSince="C++20"> | ||
| <DocLink slot="item" src="/cpp/library/ranges/begin">`ranges::begin` :badge[C++20] </DocLink> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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 |
Close #59
(No text diff image)
Green: word count increased after migration; Red: word count decreased after migration.