This is the mail archive of the gcc-bugs@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]

Re: anonymous types


> Hopefully I won't get thrashed like I did the last time...

Thanks for your bug report. Unfortunately, that will happen again.

> Why does GNU C/C++ allow my "anonymous struct" to be declared, but not
> passed as a parameter?  

Please note that this already is a question, not a bug report. Please
discuss it in one of the public C++ fora first,
eg. comp.lang.c++.moderated, or comp.std.c++.

> I don't see why it should complain.

I won't tell you why; this list is not about teaching people C++. I
can only tell you that it is answered in 3.5, [basic.link]/8.

> When I ask people these questions, they always spout off the
> standard--where the crap do I find it?

webstore.ansi.org.

Regards,
Martin

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