Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 4, 2025

Automatically migrated from http://en.cppreference.com/w/cpp/ranges.html by google/gemini-2.5-flash

📝 Edit this page

Close #59

(No text diff image)
Green: word count increased after migration; Red: word count decreased after migration.

@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cppdoc Ready Ready Preview Comment Dec 5, 2025 4:03am


<DescList>
<Desc autorevSince="C++20">
<DocLink slot="item" src="/cpp/library/ranges/begin">`ranges::begin` :badge[C++20] </DocLink>
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

@SchrodingerZhu
Copy link

@copilot can you address the comments in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[#60] http://en.cppreference.com/w/cpp/ranges.html

4 participants