Skip to content

release/20.x: [libc++] Add missing release note for LLVM 20 about zip_view (#134144) #134313

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 1 commit into from
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions libcxx/docs/ReleaseNotes/20.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ Deprecations and Removals

- Non-conforming extension ``packaged_task::result_type`` is deprecated. It will be removed in LLVM 21.

- The changes for ``ranges::zip_view`` from `P2165R4 <https://wg21.link/P2165R4>`_ have been implemented. This can
lead to code assuming that ``zip_view`` produces ``std::pair`` to stop compiling now that it produces ``std::tuple``.
The cases are rare since ``tuple`` and ``pair`` are compatible for the most part, but this can lead to code that
was previously accepted now being rejected. This is necessary for libc++ to be conforming, so we don't provide any
way to opt-out of that behavior.

Upcoming Deprecations and Removals
----------------------------------

Expand Down Expand Up @@ -205,3 +211,8 @@ ABI Affecting Changes

- The localization support base API has been reimplemented, leading to different functions being exported from the
libc++ built library on Windows and Windows-like platforms.

- The changes for ``ranges::zip_view`` from `P2165R4 <https://wg21.link/P2165R4>`_ have been implemented. This changes
the element type of ``zip_view`` from a ``std::pair`` to a ``std::tuple`` in some cases. This is technically an ABI
break, however since ``zip_view`` is generally not an ABI sensitive type, we don't expect users to encounter any
issues and we don't provide a way to change this behavior, which would make libc++ non-conforming.
Loading