Skip to content

Commit 73cd40d

Browse files
authored
Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same type) (#77768)" in release/18.x (#79400)
- Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same type) (#77768)", see #77768 (comment)
1 parent 5de1bcb commit 73cd40d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,6 @@ C++2c Feature Support
234234

235235
Resolutions to C++ Defect Reports
236236
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
237-
- Implemented `CWG2137 <https://wg21.link/CWG2137>`_ which allows
238-
list-initialization from objects of the same type.
239-
- Implemented `CWG2311 <https://wg21.link/CWG2311>`_: given a prvalue ``e`` of object type
240-
``T``, ``T{e}`` will try to resolve an initializer list constructor and will use it if successful (CWG2137).
241-
Otherwise, if there is no initializer list constructor, the copy will be elided as if it was ``T(e)``.
242237

243238
- Implemented `CWG2598 <https://wg21.link/CWG2598>`_ and `CWG2096 <https://wg21.link/CWG2096>`_,
244239
making unions (that have either no members or at least one literal member) literal types.

0 commit comments

Comments
 (0)