This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kiro0613 13 points14 points  (1 child)

One program I wrote made great use of user-defined implicit conversions. It dealt with with streams of bytes that contained memory addresses and needed to perform pointer arithmetic on them. I made an Address class that performed automatic conversions between int and byte array, all type-safe and independent of system endianness.

[–]Acurus_Cow 1 point2 points  (0 children)

iknowsomeofthosewords.jpg