You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libc++][NFC] Wrap lines in ReleaseNotes/22.rst (#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.
Copy file name to clipboardExpand all lines: libcxx/docs/ReleaseNotes/22.rst
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,8 @@ What's New in Libc++ 22.0.0?
38
38
Implemented Papers
39
39
------------------
40
40
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)
42
43
- P3168R2: Give ``std::optional`` Range Support (`Github <https://github.com/llvm/llvm-project/issues/105430>`__)
43
44
44
45
Improvements and New Features
@@ -50,7 +51,8 @@ Improvements and New Features
50
51
- The performance of ``unordered_set::operator=(const unordered_set&)`` has been improved by up to 5x.
51
52
- The performance of ``map::erase`` and ``set::erase`` has been improved by up to 2x
52
53
- 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.
54
56
- The performance of the ``(iterator, iterator)`` constructors of ``multimap`` and ``multiset``
55
57
has been improved by up to 3x
56
58
- 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
62
64
Potentially breaking changes
63
65
----------------------------
64
66
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
0 commit comments