This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]