On Monday, 30 June 2014 at 17:49:52 UTC, H. S. Teoh via Digitalmars-d wrote:
I may have misused the term, perhaps the proper term is "painting"?

Anyway, it means to write data of one type to the union, and read out a
different type. E.g., write a double into a union of double and
ubyte[double.sizeof], and then read out the latter, in order to get at the bit representation of the double without using pointer casting

Oh, ok that make sense. I have never heard that called any form of painting before. I never realized that had a name at all really, just thought it was a thing you did with unions. Thank for the clarification.

Reply via email to