Skip to content

Commit 83583b2

Browse files
authored
[libc++][NFC] Wrap lines in ReleaseNotes/22.rst (llvm#155359)
Some of the lines in `ReleaseNotes/22.rst` are (significantly) longer than our usual 120 column limit. This wraps all lines in the file so they are never more than our usual limit.
1 parent acf9611 commit 83583b2

File tree

1 file changed

+9
-3
lines changed
  • libcxx/docs/ReleaseNotes

1 file changed

+9
-3
lines changed

libcxx/docs/ReleaseNotes/22.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ What's New in Libc++ 22.0.0?
3838
Implemented Papers
3939
------------------
4040

41-
- P2321R2: ``zip`` (`Github <https://github.com/llvm/llvm-project/issues/105169>`__) (The paper is partially implemented. ``zip_transform_view`` is implemented in this release)
41+
- P2321R2: ``zip`` (`Github <https://github.com/llvm/llvm-project/issues/105169>`__) (The paper is partially
42+
implemented. ``zip_transform_view`` is implemented in this release)
4243
- P3168R2: Give ``std::optional`` Range Support (`Github <https://github.com/llvm/llvm-project/issues/105430>`__)
4344

4445
Improvements and New Features
@@ -50,7 +51,8 @@ Improvements and New Features
5051
- The performance of ``unordered_set::operator=(const unordered_set&)`` has been improved by up to 5x.
5152
- The performance of ``map::erase`` and ``set::erase`` has been improved by up to 2x
5253
- The performance of ``find(key)`` in ``map``, ``set``, ``multimap`` and ``multiset`` has been improved by up to 2.3x
53-
- Some reallocations are now avoided in `std::filesystem::path::lexically_relative`, resulting in a performance improvement of up to 1.7x.
54+
- Some reallocations are now avoided in `std::filesystem::path::lexically_relative`, resulting in a performance
55+
improvement of up to 1.7x.
5456
- The performance of the ``(iterator, iterator)`` constructors of ``multimap`` and ``multiset``
5557
has been improved by up to 3x
5658
- The performance of ``insert(iterator, iterator)`` of ``multimap`` and ``multiset`` has been improved by up to 2.5x
@@ -62,7 +64,11 @@ Deprecations and Removals
6264
Potentially breaking changes
6365
----------------------------
6466

65-
- The algorithm for ``multi{map,set}::find`` has been modified such that it doesn't necessarily return an iterator to the first equal element in the container. This was never guaranteed by the Standard, but libc++ previously happened to always return the first equal element, like other implementations do. Starting with this release, code relying on the first element being returned from ``find`` will be broken, and ``lower_bound`` or ``equal_range`` should be used instead.
67+
- The algorithm for ``multi{map,set}::find`` has been modified such that it doesn't necessarily return an iterator to
68+
the first equal element in the container. This was never guaranteed by the Standard, but libc++ previously happened to
69+
always return the first equal element, like other implementations do. Starting with this release, code relying on the
70+
first element being returned from ``find`` will be broken, and ``lower_bound`` or ``equal_range`` should be used
71+
instead.
6672

6773
Announcements About Future Releases
6874
-----------------------------------

0 commit comments

Comments
 (0)