Re: [C++ PATCH] P0329R4: Designated Initialization

2018-03-30 Thread Jason Merrill
On Mon, Nov 13, 2017 at 5:53 PM, Jakub Jelinek wrote: > + /* If the element is an anonymous union object and the > + initializer list is a designated-initializer-list, the > + anonymous union object is initialized by the > +

[C++ PATCH] P0329R4: Designated Initialization

2017-11-13 Thread Jakub Jelinek
Hi! This patch adds support for c++2a designated initializers. We've been supporting a small restricted subset of C99 initializers as a GNU extension before, the C++2A designated initializers are partly a subset of that, but on the other side extent it more and add some further restrictions.