Query for Empty Structure Extension.
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Jan 2 15:17:00 GMT 2013
On 2 January 2013 14:32, NAVEEN CHANDRAKAR wrote:
>
> My question is what is the definition/grammer of empty structure. As i couldn't find it covered in C/Cxx standard document.
The page you linked to defines a GCC extension to the C language, so
if course it's not in the C standard. As the page says, ISO C++ allows
empty structures, it's just a class with no members, which is valid in
ISO C++ anyway.
More information about the Gcc
mailing list