[clang] [Sema][CTAD] Allow user defined conversion for copy-list-initialization (PR #94752)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 07:31:35 PDT 2024


================
@@ -199,6 +199,12 @@ C++20 Feature Support
   to update the ``__cpp_concepts`` macro to `202002L`. This enables
   ``<expected>`` from libstdc++ to work correctly with Clang.
 
+- User defined constructors are allowed for copy-list-initialization with CTAD.
+  The example code for deduction guides for std::map in
+  (`cppreference <https://en.cppreference.com/w/cpp/container/map/deduction_guides>`_)
+  will now work.
+  (#GH62925).
+
----------------
cor3ntin wrote:

Not sure the link adds useful information. If you think the example is useful, feel free to add the examples in the release note directly (but the issue link is enough)

https://github.com/llvm/llvm-project/pull/94752


More information about the cfe-commits mailing list