This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Designated Initialization in g++
- From: "Sauder, Vernon" <Vernon dot Sauder at spirentcom dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 3 Aug 2004 20:24:11 -0400
- Subject: Designated Initialization in g++
When is support for Designated Initialization per C99 expected to be
implemented in g++? Is the current aggregate initialization support to be
deprecated at that time?
Example:
struct flock f = { l_type: F_UNLCK, l_len: 0 }; << currently supported
struct flock f = { .l_type = F_UNLCK, .l_len = 0 }; << C99
Vernon Sauder
Office: +1 301.417.1798
Mobile: +1 240.994.2226
Email: Vernon.Sauder@spirentcom.com