diff options
Diffstat (limited to 'libcxx/docs/ReleaseNotes/22.rst')
| -rw-r--r-- | libcxx/docs/ReleaseNotes/22.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcxx/docs/ReleaseNotes/22.rst b/libcxx/docs/ReleaseNotes/22.rst index 980390c..9f1e3d5 100644 --- a/libcxx/docs/ReleaseNotes/22.rst +++ b/libcxx/docs/ReleaseNotes/22.rst @@ -40,9 +40,12 @@ Implemented Papers - P2321R2: ``zip`` (`Github <https://llvm.org/PR105169>`__) (The paper is partially implemented. ``zip_transform_view`` is implemented in this release) +- P2988R12: ``std::optional<T&>`` (`Github <https://llvm.org/PR148131>`__) - P3044R2: sub-``string_view`` from ``string`` (`Github <https://llvm.org/PR148140>`__) - P3223R2: Making ``std::istream::ignore`` less surprising (`Github <https://llvm.org/PR148178>`__) - P3060R3: Add ``std::views::indices(n)`` (`Github <https://llvm.org/PR148175>`__) +- P2641R4: Checking if a ``union`` alternative is active (``std::is_within_lifetime``) + (`Github <https://llvm.org/PR105381>`__) - P2835R7: Expose ``std::atomic_ref``'s object address (`Github <https://llvm.org/PR118377>`__) - P2944R3: Comparisons for ``reference_wrapper`` (`Github <https://llvm.org/PR105424>`__) - P3168R2: Give ``std::optional`` Range Support (`Github <https://llvm.org/PR105430>`__) @@ -79,6 +82,10 @@ Improvements and New Features - The ``std::{generate, generate_n}`` and ``std::ranges::generate_n`` algorithms have been optimized for segmented iterators, resulting in a performance improvement for ``std::deque<short>`` and ``std::join_view<vector<vector<short>>>`` iterators. +- ``std::atomic::wait`` has been refactored to accept more types to use platform native wait functions directly. + This is guarded behind the ABI Macro ``_LIBCPP_ABI_ATOMIC_WAIT_NATIVE_BY_SIZE``. + +- The ``num_get::do_get`` integral overloads have been optimized, resulting in a performance improvement of up to 2.8x. Deprecations and Removals ------------------------- @@ -111,5 +118,8 @@ ABI Affecting Changes potentially inheriting from the types they wrap. At this point in time we are not aware of any ABI changes caused by this. +- ``ranges::iota_view`` is now aware of ``__int128``. This causes ``iota_view::difference_type`` to change from + ``long long`` to ``__int128`` in some cases. + Build System Changes -------------------- |
