[clang] [libcxx] [Clang] Implement CWG2137 (list-initialization from objects of the same type) (PR #94355)

Mital Ashok via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 06:54:41 PDT 2024


MitalAshok wrote:

@yxsamliu Re: https://github.com/llvm/llvm-project/pull/77768#issuecomment-1957171805: That is the expected behaviour, since CWG2137 expressly wants to use initializer_list constructors over non-initializer_list constructors (especially copy constructors)

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


More information about the cfe-commits mailing list