1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it a good practice to use "struct within union" for type polymorphism?

Discussion in 'C++' started by clonebull, Oct 5, 2010.

  1. clonebull

    clonebull New Member

    Joined:
    Oct 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    union
    {
    struct Type1
    {
    };

    struct Type2
    {
    };

    ......


    } ParameterType;


    Thanks!
     

Share This Page