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

Gábor Spaits via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 07:37:20 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).
+
----------------
spaits wrote:

I will change it so only the issue link is there.

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


More information about the cfe-commits mailing list