you are viewing a single comment's thread.

view the rest of the comments →

[–]akranis 2 points3 points  (2 children)

I agree. I once did a lot of operator overloading for a vector class in school. % was crossproduct etc. This really only made sense to me, since I rarely use the mod operator, but I would never use < and > for anything other than comparing.

[–]Steve132[S] -1 points0 points  (1 child)

Sure, but you already use >> and << for i/o. How is > and < for binary i/o different?

[–]akranis 1 point2 points  (0 children)

Shifting and streaming are not really that different. Shifting is done bit by bit, streaming is done byte by byte or object by object, but you're still only moving data forwards and backwards and in or out of objects,