Re: assignment operators for union member classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mike,

> Does anyone know why asignment operators are not allowed for union class
> members ?

Yes, I know why.

Because the assignment operator won't be executed.

(Besides that, a non-POD / non-aggregate object violates the constraints of
what can be in a union.)

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux