Julian Reents
[Potential Pitfall]: The C++ difference - Structures used with union. A struct can NOT be used with a constructor if it is to be used in a union. The C++ recognition of the constructor in a struct converts it to a C++ class which is not valid in a "C" union.
struct C++ pitfall class union
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.