Operator overloading of &&

No, it’s not a function at all but rather a control flow syntax similar to if or ? :.

Depends on what you are trying to accomplish. If you are willing to involve macros you have great possibilities to customize the meaning of anything that is syntactically valid.

1 Like