On 12/08/2015 03:21 PM, Marek Polacek wrote:
+C::T C::b[]
+{
+  T (&C::foo)
+};

The problem I have with approving C++ testcases is that I have no idea
whether this is valid or not or what it expresses. You should Cc Jason
(which I've now done).

That's odd code--I don't approve of the cast in the initializer--but it is
well-formed.  OK.

For all the other people who were clueless like me, apparently this is a thing called "list initialization" or "brace-init" that you can google for.


Bernd

Reply via email to