Issue 64625
Summary CTAD for Aggregates with Elements of Array Type of Known Array Size Fails Without Brace Elision
Labels new issue
Assignees
Reporter freaknbigpanda
    This feature landed here: https://reviews.llvm.org/D139837

Clang failure example: https://godbolt.org/z/YjWx3ohxK
Note that this example compiles with brace elision: https://godbolt.org/z/avadhafTY
GCC compiles the example as expected: https://godbolt.org/z/5d3PehGo3

Please see the following document: http://wg21.link/P2082R1 section 3.2 "Allow brace elision if array size is known" for more information

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to