[PATCH] D39451: P0620 follow-up: deducing `auto` from braced-init-list in new expr

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 15:15:20 PST 2017


rsmith added a comment.

EDG and MSVC do not appear to treat this as a defect resolution; I suspect this is an oversight in GCC rather than an intentional extension. Let's convert the error to an (off by default) pedantic `Extension` (ISO C++11 does not allow ...), and suppress the extension warning in C++17 onwards.


https://reviews.llvm.org/D39451





More information about the cfe-commits mailing list