gnu.gcc.help
[Top] [All Lists]

Union designated initializers in g++?

Subject: Union designated initializers in g++?
From: "Kevin Phillips"
Date: Mon, 31 Jul 2006 06:44:03 -0500
Newsgroups: gnu.gcc.help
The GCC manual states that the Designated Initializers extension
is not supported in C++.  I was planning on using designated
initializers with some unions in some C++ code.

Why is this extension excluded from g++?

Is there a different extension / capability in g++ that does the
same thing?


<Prev in Thread] Current Thread [Next in Thread>
  • Union designated initializers in g++?, Kevin Phillips <=
Privacy Policy