79655661

Date: 2025-06-06 09:02:40
Score: 0.5
Natty:
Report link

<< is the stream insertion operator, it is overloaded and not the same as a bitshift. It keeps the same operator precedence as a bitshift though which is higher than & which is why you are experiencing your issues.

The << gets evaluated first causing a type mismatch.

Edit: 1 is considered the highest operator precedence for clarification.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (0.5):
Posted by: Luke Sharkey