
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - anonymous_unions _
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Anonymous_Unions _
Unlike C, C++ supports anonymous unions, i.e. unions without a name.
This causes the creation of an unnamed object. The names of any member
variables of the anonymous union MUST be distinct from any other names
in the same scope. The member names of the anonymous union can be used
directly within the scope in which it was declared without using the
normal syntax for accessing a member.
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson